]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Merge from trunk, r2469 (fix a mixup re Binop vs Unop)
authorJulian Seward <jseward@acm.org>
Sun, 2 Sep 2012 13:47:56 +0000 (13:47 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 2 Sep 2012 13:47:56 +0000 (13:47 +0000)
git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_8_BRANCH@2500

VEX/priv/ir_defs.c

index 29f8b416f65e3ef8db6c74be2e58545db60c10ab..eb6bb41e4a6d575f025b8ca2253147897b0d3fbf 100644 (file)
@@ -3459,7 +3459,7 @@ void tcExpr ( IRSB* bb, IRStmt* stmt, IRExpr* expr, IRType gWordTy )
       }
       case Iex_Unop:
          tcExpr(bb,stmt, expr->Iex.Unop.arg, gWordTy );
-         typeOfPrimop(expr->Iex.Binop.op, 
+         typeOfPrimop(expr->Iex.Unop.op, 
                       &t_dst, &t_arg1, &t_arg2, &t_arg3, &t_arg4);
          if (t_arg1 == Ity_INVALID || t_arg2 != Ity_INVALID
              || t_arg3 != Ity_INVALID || t_arg4 != Ity_INVALID)