|
From: <sv...@va...> - 2012-08-29 15:00:26
|
florian 2012-08-29 16:00:13 +0100 (Wed, 29 Aug 2012)
New Revision: 2492
Log:
Fix IR injection for ppc32. Need to use mkSzImm not mkU64...
Modified files:
trunk/priv/guest_ppc_toIR.c
Modified: trunk/priv/guest_ppc_toIR.c (+3 -2)
===================================================================
--- trunk/priv/guest_ppc_toIR.c 2012-08-28 21:58:23 +01:00 (rev 2491)
+++ trunk/priv/guest_ppc_toIR.c 2012-08-29 16:00:13 +01:00 (rev 2492)
@@ -16603,8 +16603,9 @@
// injecting here can change. In which case the translation has to
// be redone. For ease of handling, we simply invalidate all the
// time.
- stmt(IRStmt_Put(OFFB_TISTART, mkU64(guest_CIA_curr_instr)));
- stmt(IRStmt_Put(OFFB_TILEN, mkU64(20)));
+
+ stmt(IRStmt_Put(OFFB_TISTART, mkSzImm(ty, guest_CIA_curr_instr)));
+ stmt(IRStmt_Put(OFFB_TILEN, mkSzImm(ty, 20)));
putGST( PPC_GST_CIA, mkSzImm( ty, guest_CIA_bbstart + delta ));
dres.whatNext = Dis_StopHere;
|