Revision: 10547
Author: [email protected]
Date: Mon Jan 30 03:10:14 2012
Log: MIPS: Fix and adapt debugger for new call target caches.
Port of r10540.
[email protected]
TEST=mjsunit/debug-stepout-scope
Review URL: https://chromiumcodereview.appspot.com/9225055
http://code.google.com/p/v8/source/detail?r=10547
Modified:
/branches/bleeding_edge/src/mips/debug-mips.cc
=======================================
--- /branches/bleeding_edge/src/mips/debug-mips.cc Mon Jan 30 02:58:22 2012
+++ /branches/bleeding_edge/src/mips/debug-mips.cc Mon Jan 30 03:10:14 2012
@@ -241,15 +241,6 @@
// -----------------------------------
Generate_DebugBreakCallHelper(masm, a2.bit(), 0);
}
-
-
-void Debug::GenerateConstructCallDebugBreak(MacroAssembler* masm) {
- // Calling convention for construct call (from builtins-mips.cc).
- // -- a0 : number of arguments (not smi)
- // -- a1 : constructor function
- // -- a2 : cache cell for call target
- Generate_DebugBreakCallHelper(masm, a1.bit() | a2.bit(), a0.bit());
-}
void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) {
@@ -267,6 +258,37 @@
// -----------------------------------
Generate_DebugBreakCallHelper(masm, a1.bit(), 0);
}
+
+
+void Debug::GenerateCallFunctionStubRecordDebugBreak(MacroAssembler* masm)
{
+ // Register state for CallFunctionStub (from code-stubs-mips.cc).
+ // ----------- S t a t e -------------
+ // -- a1 : function
+ // -- a2 : cache cell for call target
+ // -----------------------------------
+ Generate_DebugBreakCallHelper(masm, a1.bit() | a2.bit(), 0);
+}
+
+
+void Debug::GenerateCallConstructStubDebugBreak(MacroAssembler* masm) {
+ // Calling convention for CallConstructStub (from code-stubs-mips.cc).
+ // ----------- S t a t e -------------
+ // -- a0 : number of arguments (not smi)
+ // -- a1 : constructor function
+ // -----------------------------------
+ Generate_DebugBreakCallHelper(masm, a1.bit() , a0.bit());
+}
+
+
+void Debug::GenerateCallConstructStubRecordDebugBreak(MacroAssembler*
masm) {
+ // Calling convention for CallConstructStub (from code-stubs-mips.cc).
+ // ----------- S t a t e -------------
+ // -- a0 : number of arguments (not smi)
+ // -- a1 : constructor function
+ // -- a2 : cache cell for call target
+ // -----------------------------------
+ Generate_DebugBreakCallHelper(masm, a1.bit() | a2.bit(), a0.bit());
+}
void Debug::GenerateSlot(MacroAssembler* masm) {
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev