]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix a mixup. This never caused a problem because both fields have
authorFlorian Krohm <florian@eich-krohm.de>
Thu, 16 Aug 2012 00:11:20 +0000 (00:11 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Thu, 16 Aug 2012 00:11:20 +0000 (00:11 +0000)
the same offset in the enclosing struct.

git-svn-id: svn://svn.valgrind.org/vex/trunk@2469

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)