Commit 70e69975 authored by mbrandy's avatar mbrandy Committed by Commit bot

PPC: [debugger] Remove code to predict step-in target.

Port 2f559f21

R=yangguo@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
BUG=

Review URL: https://codereview.chromium.org/1490923004

Cr-Commit-Position: refs/heads/master@{#32482}
parent 8ea83438
...@@ -1089,12 +1089,12 @@ void MacroAssembler::FloodFunctionIfStepping(Register fun, Register new_target, ...@@ -1089,12 +1089,12 @@ void MacroAssembler::FloodFunctionIfStepping(Register fun, Register new_target,
const ParameterCount& expected, const ParameterCount& expected,
const ParameterCount& actual) { const ParameterCount& actual) {
Label skip_flooding; Label skip_flooding;
ExternalReference debug_step_action = ExternalReference step_in_enabled =
ExternalReference::debug_last_step_action_address(isolate()); ExternalReference::debug_step_in_enabled_address(isolate());
mov(r7, Operand(debug_step_action)); mov(r7, Operand(step_in_enabled));
lbz(r7, MemOperand(r7)); lbz(r7, MemOperand(r7));
cmpi(r7, Operand(StepIn)); cmpi(r7, Operand::Zero());
bne(&skip_flooding); beq(&skip_flooding);
{ {
FrameScope frame(this, FrameScope frame(this,
has_frame() ? StackFrame::NONE : StackFrame::INTERNAL); has_frame() ? StackFrame::NONE : StackFrame::INTERNAL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment