]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Make the list of handled jump kinds the same in s390_isel_stmt
authorFlorian Krohm <florian@eich-krohm.de>
Sat, 14 Apr 2012 20:35:17 +0000 (20:35 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sat, 14 Apr 2012 20:35:17 +0000 (20:35 +0000)
and iselNext.

git-svn-id: svn://svn.valgrind.org/vex/branches/TCHAIN@2285

VEX/priv/host_s390_isel.c

index 6c63cb3cf28f9e2d670152c6ea3ed0aa43304acf..9400012ad7a25eb6f865c1e8cb6bb5ae5acea8d7 100644 (file)
@@ -2485,9 +2485,12 @@ s390_isel_stmt(ISelEnv *env, IRStmt *stmt)
 
       /* Case: assisted transfer to arbitrary address */
       switch (stmt->Ist.Exit.jk) {
-      case Ijk_SigSEGV:
       case Ijk_TInval:
-      case Ijk_EmWarn: {
+      case Ijk_Sys_syscall:
+      case Ijk_ClientReq:
+      case Ijk_NoRedir:
+      case Ijk_Yield:
+      case Ijk_SigTRAP: {
          HReg dst = s390_isel_int_expr(env, IRExpr_Const(stmt->Ist.Exit.dst));
          addInstr(env, s390_insn_xassisted(cond, dst, guest_IA,
                                            stmt->Ist.Exit.jk));
@@ -2594,6 +2597,7 @@ iselNext(ISelEnv *env, IRExpr *next, IRJumpKind jk, int offsIP)
 
    /* Case: some other kind of transfer to any address */
    switch (jk) {
+   case Ijk_TInval:
    case Ijk_Sys_syscall:
    case Ijk_ClientReq:
    case Ijk_NoRedir: