Commit 7a21d137 authored by bjaideep's avatar bjaideep Committed by Commit bot

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

Port 3f303da2

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-Original-Commit-Position: refs/heads/master@{#42898}
Review-Url: https://codereview.chromium.org/2704303006
Cr-Commit-Position: refs/heads/master@{#43380}
parent fb62b8c3
......@@ -1553,15 +1553,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.
......
......@@ -1452,15 +1452,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 =
......
......@@ -947,13 +947,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