Index: src/x87/macro-assembler-x87.cc |
diff --git a/src/x87/macro-assembler-x87.cc b/src/x87/macro-assembler-x87.cc |
index e035acbbf6e2dda96d2723c23c92ee78a2ccb135..403ea49dfc30ca1c14a91de46289c177f2a09367 100644 |
--- a/src/x87/macro-assembler-x87.cc |
+++ b/src/x87/macro-assembler-x87.cc |
@@ -2302,10 +2302,11 @@ void MacroAssembler::FloodFunctionIfStepping(Register fun, Register new_target, |
const ParameterCount& expected, |
const ParameterCount& actual) { |
Label skip_flooding; |
- ExternalReference step_in_enabled = |
- ExternalReference::debug_step_in_enabled_address(isolate()); |
- cmpb(Operand::StaticVariable(step_in_enabled), Immediate(0)); |
- j(equal, &skip_flooding); |
+ ExternalReference last_step_action = |
+ ExternalReference::debug_last_step_action_address(isolate()); |
+ STATIC_ASSERT(StepFrame > StepIn); |
+ cmpb(Operand::StaticVariable(last_step_action), Immediate(StepIn)); |
+ j(less, &skip_flooding); |
{ |
FrameScope frame(this, |
has_frame() ? StackFrame::NONE : StackFrame::INTERNAL); |