Extract JitState into its own header (arm/x86)

This commit is contained in:
Henrik Rydgard committed 2013-11-08 18:51:52 +01:00
1 parent 6b45c321b6
commit 309f904c0c
13 files changed
+197 -259

No files matched your search

+2
View File
@@ -153,6 +153,8 @@ namespace MIPSComp
case 41: //sh
case 43: //sw
if (gpr.IsImm(rs) && Memory::IsValidAddress(iaddr)) {
// TODO: Avoid mapping a register for the "zero" register, use R0 instead.
// We can compute the full address at compile time. Kickass.
u32 addr = iaddr & 0x3FFFFFFF;
// Must be OK even if rs == rt since we have the value from imm already.