Index: src/mips64/macro-assembler-mips64.cc |
diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc |
index 536c74f41b32741758a68397d44a32876bdcae4c..b86697318a826e1ae92c541887ecf1f0b61e6f32 100644 |
--- a/src/mips64/macro-assembler-mips64.cc |
+++ b/src/mips64/macro-assembler-mips64.cc |
@@ -5142,11 +5142,12 @@ 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()); |
- li(t0, Operand(step_in_enabled)); |
+ ExternalReference last_step_action = |
+ ExternalReference::debug_last_step_action_address(isolate()); |
+ STATIC_ASSERT(StepFrame > StepIn); |
+ li(t0, Operand(last_step_action)); |
lb(t0, MemOperand(t0)); |
- Branch(&skip_flooding, eq, t0, Operand(zero_reg)); |
+ Branch(&skip_flooding, lt, t0, Operand(StepIn)); |
{ |
FrameScope frame(this, |
has_frame() ? StackFrame::NONE : StackFrame::INTERNAL); |