Index: src/ppc/macro-assembler-ppc.cc |
diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc |
index 478f2f42c9e9432ba04b17f21d2012663dbc1786..34a37241fd4aba54d8d772835db79872d04edc49 100644 |
--- a/src/ppc/macro-assembler-ppc.cc |
+++ b/src/ppc/macro-assembler-ppc.cc |
@@ -1089,12 +1089,12 @@ 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(r7, Operand(debug_step_action)); |
+ ExternalReference step_in_enabled = |
+ ExternalReference::debug_step_in_enabled_address(isolate()); |
+ mov(r7, Operand(step_in_enabled)); |
lbz(r7, MemOperand(r7)); |
- cmpi(r7, Operand(StepIn)); |
- bne(&skip_flooding); |
+ cmpi(r7, Operand::Zero()); |
+ beq(&skip_flooding); |
{ |
FrameScope frame(this, |
has_frame() ? StackFrame::NONE : StackFrame::INTERNAL); |