Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index f38e1ff514087cad7b65b20ea08fe40acf5383db..dfe272972d9ea3fee9aa54abe69eb38437367704 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -4150,11 +4150,11 @@ 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()); |
- Operand debug_step_action_operand = ExternalOperand(debug_step_action); |
- cmpb(debug_step_action_operand, Immediate(StepIn)); |
- j(not_equal, &skip_flooding); |
+ ExternalReference step_in_enabled = |
+ ExternalReference::debug_step_in_enabled_address(isolate()); |
+ Operand step_in_enabled_operand = ExternalOperand(step_in_enabled); |
+ cmpb(step_in_enabled_operand, Immediate(0)); |
+ j(equal, &skip_flooding); |
{ |
FrameScope frame(this, |
has_frame() ? StackFrame::NONE : StackFrame::INTERNAL); |