diff options
Diffstat (limited to 'src/compiler/codegen/GenCommon.cc')
| -rw-r--r-- | src/compiler/codegen/GenCommon.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/codegen/GenCommon.cc b/src/compiler/codegen/GenCommon.cc index d2628bb19c..066c37cacd 100644 --- a/src/compiler/codegen/GenCommon.cc +++ b/src/compiler/codegen/GenCommon.cc @@ -2496,7 +2496,7 @@ void genSuspendTest(CompilationUnit* cUnit, MIR* mir) newLIR2(cUnit, kThumbSubRI8, rSUSPEND, 1); branch = opCondBranch(cUnit, kCondEq, NULL); #elif defined(TARGET_X86) - newLIR2(cUnit, kX86Cmp32TI, Thread::SuspendCountOffset().Int32Value(), 0); + newLIR2(cUnit, kX86Cmp32TI8, Thread::SuspendCountOffset().Int32Value(), 0); branch = opCondBranch(cUnit, kCondNe, NULL); #else opRegImm(cUnit, kOpSub, rSUSPEND, 1); @@ -2526,7 +2526,7 @@ void genSuspendTestAndBranch(CompilationUnit* cUnit, MIR* mir, LIR* target) newLIR2(cUnit, kThumbSubRI8, rSUSPEND, 1); opCondBranch(cUnit, kCondNe, target); #elif defined(TARGET_X86) - newLIR2(cUnit, kX86Cmp32TI, Thread::SuspendCountOffset().Int32Value(), 0); + newLIR2(cUnit, kX86Cmp32TI8, Thread::SuspendCountOffset().Int32Value(), 0); opCondBranch(cUnit, kCondEq, target); #else opRegImm(cUnit, kOpSub, rSUSPEND, 1); |