Index: src/compiler/ia32/instruction-scheduler-ia32.cc |
diff --git a/src/compiler/ia32/instruction-scheduler-ia32.cc b/src/compiler/ia32/instruction-scheduler-ia32.cc |
index 64aeed9b2568493353a773a3490c389faf3fdddc..54efb3e45e9ab4bba988110a158d56df488a3e13 100644 |
--- a/src/compiler/ia32/instruction-scheduler-ia32.cc |
+++ b/src/compiler/ia32/instruction-scheduler-ia32.cc |
@@ -111,8 +111,8 @@ int InstructionScheduler::GetTargetInstructionFlags( |
case kIA32Idiv: |
case kIA32Udiv: |
return (instr->addressing_mode() == kMode_None) |
- ? kMayNeedDeoptCheck |
- : kMayNeedDeoptCheck | kIsLoadOperation | kHasSideEffect; |
+ ? kMayNeedDeoptOrTrapCheck |
+ : kMayNeedDeoptOrTrapCheck | kIsLoadOperation | kHasSideEffect; |
case kIA32Movsxbl: |
case kIA32Movzxbl: |