Call GEtImm() before Map* in case of overlap.

This commit is contained in:
Unknown W. Brackets committed 2013-03-09 14:39:17 -08:00
1 parent b77d965e56
commit a589361b82
1 file changed
+1 -1
+1 -1
View File
@@ -347,8 +347,8 @@ namespace MIPSComp
int rs = _RS;
if (gpr.IsImm(rs))
{
gpr.MapDirtyIn(rd, rt);
int sa = gpr.GetImm(rs) & 0x1F;
gpr.MapDirtyIn(rd, rt);
MOV(gpr.R(rd), Operand2(gpr.R(rt), shiftType, sa));
return;
}