Index: src/x87/macro-assembler-x87.cc |
diff --git a/src/x87/macro-assembler-x87.cc b/src/x87/macro-assembler-x87.cc |
index 0b28c64512cb9226b3da7647b09b8b5189834734..89059b0d54105414f8877cd41c66d1de4357bafe 100644 |
--- a/src/x87/macro-assembler-x87.cc |
+++ b/src/x87/macro-assembler-x87.cc |
@@ -1959,7 +1959,8 @@ void MacroAssembler::FloodFunctionIfStepping(Register fun, Register new_target, |
ExternalReference debug_step_action = |
ExternalReference::debug_last_step_action_address(isolate()); |
cmpb(Operand::StaticVariable(debug_step_action), StepIn); |
- j(not_equal, &skip_flooding); |
+ STATIC_ASSERT(StepFrame > StepIn); |
+ j(less, &skip_flooding); |
{ |
FrameScope frame(this, |
has_frame() ? StackFrame::NONE : StackFrame::INTERNAL); |