From: Julian Seward Date: Tue, 2 Aug 2005 21:20:36 +0000 (+0000) Subject: Ignore redundant REX.W prefix on CALL Ev. X-Git-Tag: svn/VALGRIND_3_0_1^2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dec641063577059cc01f8a5d3e04fc761bedcbe9;p=thirdparty%2Fvalgrind.git Ignore redundant REX.W prefix on CALL Ev. git-svn-id: svn://svn.valgrind.org/vex/trunk@1310 --- diff --git a/VEX/priv/guest-amd64/toIR.c b/VEX/priv/guest-amd64/toIR.c index 2d1da28339..3f673d663e 100644 --- a/VEX/priv/guest-amd64/toIR.c +++ b/VEX/priv/guest-amd64/toIR.c @@ -3566,7 +3566,7 @@ ULong dis_Grp5 ( Prefix pfx, Int sz, Long delta, DisResult* dres ) break; case 2: /* call Ev */ /* Ignore any sz value and operate as if sz==8. */ - vassert(sz == 4); + vassert(sz == 4 || sz == 8); sz = 8; t3 = newTemp(Ity_I64); assign(t3, getIRegE(sz,pfx,modrm));