From: Florian Krohm Date: Thu, 16 Aug 2012 00:11:20 +0000 (+0000) Subject: Fix a mixup. This never caused a problem because both fields have X-Git-Tag: svn/VALGRIND_3_9_0^2~292 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=117e7bfcec4118973fe6615123a038a0ffcaf3f6;p=thirdparty%2Fvalgrind.git Fix a mixup. This never caused a problem because both fields have the same offset in the enclosing struct. git-svn-id: svn://svn.valgrind.org/vex/trunk@2469 --- diff --git a/VEX/priv/ir_defs.c b/VEX/priv/ir_defs.c index 29f8b416f6..eb6bb41e4a 100644 --- a/VEX/priv/ir_defs.c +++ b/VEX/priv/ir_defs.c @@ -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)