Discussion:
vex: r3347 - /trunk/priv/guest_mips_toIR.c
Add Reply
s***@valgrind.org
2017-04-11 17:06:02 UTC
Reply
Permalink
Raw Message
Author: petarj
Date: Tue Apr 11 18:06:02 2017
New Revision: 3347

Log:
mips: update code for Dis_Resteer for mode64

Even though Dis_Resteer is currently unused, the code for mode64 should
be different.
Nicely spotted by Florian K.

Modified:
trunk/priv/guest_mips_toIR.c

Modified: trunk/priv/guest_mips_toIR.c
==============================================================================
--- trunk/priv/guest_mips_toIR.c (original)
+++ trunk/priv/guest_mips_toIR.c Tue Apr 11 18:06:02 2017
@@ -17249,7 +17249,10 @@
break;
case Dis_ResteerU:
case Dis_ResteerC:
- putPC(mkU32(dres.continueAt));
+ if (mode64)
+ putPC(mkU64(dres.continueAt));
+ else
+ putPC(mkU32(dres.continueAt));
break;
case Dis_StopHere:
break;

Loading...