- Fixed: FxCompareEq::Emit()'s output must be in an integer register.

SVN r3910 (scripting)
This commit is contained in:
Randy Heit 2012-10-26 20:27:49 +00:00
parent 83480fd7f3
commit ac251cfe80

View file

@ -1742,7 +1742,7 @@ ExpEmit FxCompareEq::Emit(VMFunctionBuilder *build)
} }
assert(!op1.Konst); assert(!op1.Konst);
ExpEmit to(build, op1.RegType); ExpEmit to(build, REGT_INT);
instr = op1.RegType == REGT_INT ? OP_EQ_R : instr = op1.RegType == REGT_INT ? OP_EQ_R :
op1.RegType == REGT_FLOAT ? OP_EQF_R : op1.RegType == REGT_FLOAT ? OP_EQF_R :