Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Side by Side Diff: src/arm/debug-arm.cc

Issue 1751019: Change the LoadIC calling convention so that the receiver... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // overwritten by the address of DebugBreakXXX. 126 // overwritten by the address of DebugBreakXXX.
127 __ mov(ip, Operand(ExternalReference(Debug_Address::AfterBreakTarget()))); 127 __ mov(ip, Operand(ExternalReference(Debug_Address::AfterBreakTarget())));
128 __ ldr(ip, MemOperand(ip)); 128 __ ldr(ip, MemOperand(ip));
129 __ Jump(ip); 129 __ Jump(ip);
130 } 130 }
131 131
132 132
133 void Debug::GenerateLoadICDebugBreak(MacroAssembler* masm) { 133 void Debug::GenerateLoadICDebugBreak(MacroAssembler* masm) {
134 // Calling convention for IC load (from ic-arm.cc). 134 // Calling convention for IC load (from ic-arm.cc).
135 // ----------- S t a t e ------------- 135 // ----------- S t a t e -------------
136 // -- r0 : receiver
137 // -- r2 : name 136 // -- r2 : name
138 // -- lr : return address 137 // -- lr : return address
138 // -- r0 : receiver
139 // -- [sp] : receiver 139 // -- [sp] : receiver
140 // ----------------------------------- 140 // -----------------------------------
141 // Registers r0 and r2 contain objects that need to be pushed on the 141 // Registers r0 and r2 contain objects that need to be pushed on the
142 // expression stack of the fake JS frame. 142 // expression stack of the fake JS frame.
143 Generate_DebugBreakCallHelper(masm, r0.bit() | r2.bit()); 143 Generate_DebugBreakCallHelper(masm, r0.bit() | r2.bit());
144 } 144 }
145 145
146 146
147 void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) { 147 void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) {
148 // Calling convention for IC store (from ic-arm.cc). 148 // Calling convention for IC store (from ic-arm.cc).
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 229
230 void Debug::SetUpFrameDropperFrame(StackFrame* bottom_js_frame, 230 void Debug::SetUpFrameDropperFrame(StackFrame* bottom_js_frame,
231 Handle<Code> code) { 231 Handle<Code> code) {
232 UNREACHABLE(); 232 UNREACHABLE();
233 } 233 }
234 const int Debug::kFrameDropperFrameSize = -1; 234 const int Debug::kFrameDropperFrameSize = -1;
235 235
236 #endif // ENABLE_DEBUGGER_SUPPORT 236 #endif // ENABLE_DEBUGGER_SUPPORT
237 237
238 } } // namespace v8::internal 238 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698