| Index: src/arm/debug-arm.cc
|
| diff --git a/src/arm/debug-arm.cc b/src/arm/debug-arm.cc
|
| index 92f23f4263cd1ca8b5d4eccbc6d1f70ed12876db..96139a259784de353f9ae75c387eb0699d46611f 100644
|
| --- a/src/arm/debug-arm.cc
|
| +++ b/src/arm/debug-arm.cc
|
| @@ -251,15 +251,6 @@ void Debug::GenerateCallICDebugBreak(MacroAssembler* masm) {
|
| }
|
|
|
|
|
| -void Debug::GenerateConstructCallDebugBreak(MacroAssembler* masm) {
|
| - // Calling convention for construct call (from builtins-arm.cc)
|
| - // -- r0 : number of arguments (not smi)
|
| - // -- r1 : constructor function
|
| - // -- r2 : cache cell for call target
|
| - Generate_DebugBreakCallHelper(masm, r1.bit() | r2.bit(), r0.bit());
|
| -}
|
| -
|
| -
|
| void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) {
|
| // In places other than IC call sites it is expected that r0 is TOS which
|
| // is an object - this is not generally the case so this should be used with
|
| @@ -277,6 +268,37 @@ void Debug::GenerateCallFunctionStubDebugBreak(MacroAssembler* masm) {
|
| }
|
|
|
|
|
| +void Debug::GenerateCallFunctionStubRecordDebugBreak(MacroAssembler* masm) {
|
| + // Register state for CallFunctionStub (from code-stubs-arm.cc).
|
| + // ----------- S t a t e -------------
|
| + // -- r1 : function
|
| + // -- r2 : cache cell for call target
|
| + // -----------------------------------
|
| + Generate_DebugBreakCallHelper(masm, r1.bit() | r2.bit(), 0);
|
| +}
|
| +
|
| +
|
| +void Debug::GenerateCallConstructStubDebugBreak(MacroAssembler* masm) {
|
| + // Calling convention for CallConstructStub (from code-stubs-arm.cc)
|
| + // ----------- S t a t e -------------
|
| + // -- r0 : number of arguments (not smi)
|
| + // -- r1 : constructor function
|
| + // -----------------------------------
|
| + Generate_DebugBreakCallHelper(masm, r1.bit(), r0.bit());
|
| +}
|
| +
|
| +
|
| +void Debug::GenerateCallConstructStubRecordDebugBreak(MacroAssembler* masm) {
|
| + // Calling convention for CallConstructStub (from code-stubs-arm.cc)
|
| + // ----------- S t a t e -------------
|
| + // -- r0 : number of arguments (not smi)
|
| + // -- r1 : constructor function
|
| + // -- r2 : cache cell for call target
|
| + // -----------------------------------
|
| + Generate_DebugBreakCallHelper(masm, r1.bit() | r2.bit(), r0.bit());
|
| +}
|
| +
|
| +
|
| void Debug::GenerateSlot(MacroAssembler* masm) {
|
| // Generate enough nop's to make space for a call instruction. Avoid emitting
|
| // the constant pool in the debug break slot code.
|
|
|