Index: src/arm64/macro-assembler-arm64.cc |
diff --git a/src/arm64/macro-assembler-arm64.cc b/src/arm64/macro-assembler-arm64.cc |
index 51ff64babb8406d4b0a4b7c1ad3bb961d82b8909..37c1cec6f7df4fc1e5a0772fad1c4966d3a89963 100644 |
--- a/src/arm64/macro-assembler-arm64.cc |
+++ b/src/arm64/macro-assembler-arm64.cc |
@@ -2408,11 +2408,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()); |
- Mov(x4, Operand(debug_step_action)); |
+ ExternalReference step_in_enabled = |
+ ExternalReference::debug_step_in_enabled_address(isolate()); |
+ Mov(x4, Operand(step_in_enabled)); |
ldrb(x4, MemOperand(x4)); |
- CompareAndBranch(x4, Operand(StepIn), ne, &skip_flooding); |
+ CompareAndBranch(x4, Operand(0), eq, &skip_flooding); |
{ |
FrameScope frame(this, |
has_frame() ? StackFrame::NONE : StackFrame::INTERNAL); |