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