Commit f2d2ebca authored by bjaideep's avatar bjaideep Committed by Commit bot

PPC/s390: [debugger] remove debugger statement support from FCG/CS.

Port eef855a1

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

Review-Url: https://codereview.chromium.org/2672813002
Cr-Commit-Position: refs/heads/master@{#42898}
parent 0516a5bb
......@@ -1566,15 +1566,6 @@ void MacroAssembler::IsObjectNameType(Register object, Register scratch,
}
void MacroAssembler::DebugBreak() {
li(r3, Operand::Zero());
mov(r4,
Operand(ExternalReference(Runtime::kHandleDebuggerStatement, isolate())));
CEntryStub ces(isolate(), 1);
DCHECK(AllowThisStubCall(&ces));
Call(ces.GetCode(), RelocInfo::DEBUGGER_STATEMENT);
}
void MacroAssembler::MaybeDropFrames() {
// Check whether we need to drop frames to restart a function on the stack.
ExternalReference restart_fp =
......
......@@ -635,13 +635,10 @@ class MacroAssembler : public Assembler {
void IsObjectNameType(Register object, Register scratch, Label* fail);
// ---------------------------------------------------------------------------
// Debugger Support
void DebugBreak();
// Frame restart support
void MaybeDropFrames();
// ---------------------------------------------------------------------------
// Exception handling
// Push a new stack handler and link into stack handler chain.
......
......@@ -1462,15 +1462,6 @@ void MacroAssembler::IsObjectNameType(Register object, Register scratch,
bgt(fail);
}
void MacroAssembler::DebugBreak() {
LoadImmP(r2, Operand::Zero());
mov(r3,
Operand(ExternalReference(Runtime::kHandleDebuggerStatement, isolate())));
CEntryStub ces(isolate(), 1);
DCHECK(AllowThisStubCall(&ces));
Call(ces.GetCode(), RelocInfo::DEBUGGER_STATEMENT);
}
void MacroAssembler::MaybeDropFrames() {
// Check whether we need to drop frames to restart a function on the stack.
ExternalReference restart_fp =
......
......@@ -946,13 +946,9 @@ class MacroAssembler : public Assembler {
void IsObjectNameType(Register object, Register scratch, Label* fail);
// ---------------------------------------------------------------------------
// Debugger Support
void DebugBreak();
// Frame restart support
void MaybeDropFrames();
// ---------------------------------------------------------------------------
// Exception handling
// Push a new stack handler and link into stack handler chain.
......
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