Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 4f7a65a425c138cd8bdc950fc6c704edbf3034af..5befb7805e433a64545cad7946f6cc9821b44efc 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -1991,10 +1991,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); |
- j(not_equal, &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); |