PPC: [debugger] do not predict step in target for liveedit.
Port 1e671030b9
R=yangguo@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
BUG=
Review URL: https://codereview.chromium.org/1502573002
Cr-Commit-Position: refs/heads/master@{#32625}
This commit is contained in:
parent
cc17ead444
commit
fe35487860
@ -115,19 +115,7 @@ void DebugCodegen::GenerateDebugBreakStub(MacroAssembler* masm,
|
||||
}
|
||||
|
||||
|
||||
void DebugCodegen::GeneratePlainReturnLiveEdit(MacroAssembler* masm) {
|
||||
__ Ret();
|
||||
}
|
||||
|
||||
|
||||
void DebugCodegen::GenerateFrameDropperLiveEdit(MacroAssembler* masm) {
|
||||
ExternalReference restarter_frame_function_slot =
|
||||
ExternalReference::debug_restarter_frame_function_pointer_address(
|
||||
masm->isolate());
|
||||
__ mov(ip, Operand(restarter_frame_function_slot));
|
||||
__ li(r4, Operand::Zero());
|
||||
__ StoreP(r4, MemOperand(ip, 0));
|
||||
|
||||
// Load the function pointer off of our current stack frame.
|
||||
__ LoadP(r4, MemOperand(fp, StandardFrameConstants::kConstantPoolOffset -
|
||||
kPointerSize));
|
||||
@ -135,6 +123,9 @@ void DebugCodegen::GenerateFrameDropperLiveEdit(MacroAssembler* masm) {
|
||||
// Pop return address and frame
|
||||
__ LeaveFrame(StackFrame::INTERNAL);
|
||||
|
||||
ParameterCount dummy(0);
|
||||
__ FloodFunctionIfStepping(r4, no_reg, dummy, dummy);
|
||||
|
||||
// Load context from the function.
|
||||
__ LoadP(cp, FieldMemOperand(r4, JSFunction::kContextOffset));
|
||||
|
||||
|
@ -563,6 +563,10 @@ class MacroAssembler : public Assembler {
|
||||
const ParameterCount& actual, InvokeFlag flag,
|
||||
const CallWrapper& call_wrapper);
|
||||
|
||||
void FloodFunctionIfStepping(Register fun, Register new_target,
|
||||
const ParameterCount& expected,
|
||||
const ParameterCount& actual);
|
||||
|
||||
// Invoke the JavaScript function in the given register. Changes the
|
||||
// current context to the context in the function before invoking.
|
||||
void InvokeFunction(Register function, Register new_target,
|
||||
@ -1495,10 +1499,6 @@ class MacroAssembler : public Assembler {
|
||||
bool* definitely_mismatches, InvokeFlag flag,
|
||||
const CallWrapper& call_wrapper);
|
||||
|
||||
void FloodFunctionIfStepping(Register fun, Register new_target,
|
||||
const ParameterCount& expected,
|
||||
const ParameterCount& actual);
|
||||
|
||||
void InitializeNewString(Register string, Register length,
|
||||
Heap::RootListIndex map_index, Register scratch1,
|
||||
Register scratch2);
|
||||
|
Loading…
Reference in New Issue
Block a user