vex: r3347 - /trunk/priv/guest_mips_toIR.c

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

vex: r3347 - /trunk/priv/guest_mips_toIR.c

svn-2
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;


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers
Loading...