| Index: src/ppc/macro-assembler-ppc.cc
|
| diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc
|
| index 0be5a55ebd0d4e5b2f0936c9b5008e3fc7e2ab1d..c60704ee7d09fbb255303fa7b83d980c578d1aea 100644
|
| --- a/src/ppc/macro-assembler-ppc.cc
|
| +++ b/src/ppc/macro-assembler-ppc.cc
|
| @@ -1386,12 +1386,13 @@ 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());
|
| - mov(r7, Operand(step_in_enabled));
|
| + ExternalReference last_step_action =
|
| + ExternalReference::debug_last_step_action_address(isolate());
|
| + STATIC_ASSERT(StepFrame > StepIn);
|
| + mov(r7, Operand(last_step_action));
|
| lbz(r7, MemOperand(r7));
|
| cmpi(r7, Operand::Zero());
|
| - beq(&skip_flooding);
|
| + blt(&skip_flooding);
|
| {
|
| FrameScope frame(this,
|
| has_frame() ? StackFrame::NONE : StackFrame::INTERNAL);
|
|
|