Index: src/compiler/x64/instruction-scheduler-x64.cc |
diff --git a/src/compiler/x64/instruction-scheduler-x64.cc b/src/compiler/x64/instruction-scheduler-x64.cc |
index 862bca21a17e162a74f2d761b570bedd52a424c4..63f134c081810d17fbdd46c59410e748c33587b3 100644 |
--- a/src/compiler/x64/instruction-scheduler-x64.cc |
+++ b/src/compiler/x64/instruction-scheduler-x64.cc |
@@ -189,8 +189,8 @@ int InstructionScheduler::GetTargetInstructionFlags( |
case kX64Udiv: |
case kX64Udiv32: |
return (instr->addressing_mode() == kMode_None) |
- ? kMayNeedDeoptCheck |
- : kMayNeedDeoptCheck | kIsLoadOperation | kHasSideEffect; |
+ ? kMayNeedDeoptOrTrapCheck |
+ : kMayNeedDeoptOrTrapCheck | kIsLoadOperation | kHasSideEffect; |
case kX64Movsxbl: |
case kX64Movzxbl: |