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

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

Issue 367053002: MIPS: KeyedLoadIC should have same register spec as LoadIC. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips/full-codegen-mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #if V8_TARGET_ARCH_MIPS 9 #if V8_TARGET_ARCH_MIPS
10 10
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 // -- ra : return address 200 // -- ra : return address
201 // ----------------------------------- 201 // -----------------------------------
202 // Registers a0, a1, and a2 contain objects that need to be pushed on the 202 // Registers a0, a1, and a2 contain objects that need to be pushed on the
203 // expression stack of the fake JS frame. 203 // expression stack of the fake JS frame.
204 Generate_DebugBreakCallHelper(masm, a0.bit() | a1.bit() | a2.bit(), 0); 204 Generate_DebugBreakCallHelper(masm, a0.bit() | a1.bit() | a2.bit(), 0);
205 } 205 }
206 206
207 207
208 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { 208 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) {
209 // Calling convention for keyed IC load (from ic-arm.cc). 209 // Calling convention for keyed IC load (from ic-arm.cc).
210 Register receiver = KeyedLoadIC::ReceiverRegister(); 210 GenerateLoadICDebugBreak(masm);
211 Register name = KeyedLoadIC::NameRegister();
212 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0);
213 } 211 }
214 212
215 213
216 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { 214 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) {
217 // ---------- S t a t e -------------- 215 // ---------- S t a t e --------------
218 // -- a0 : value 216 // -- a0 : value
219 // -- a1 : key 217 // -- a1 : key
220 // -- a2 : receiver 218 // -- a2 : receiver
221 // -- ra : return address 219 // -- ra : return address
222 Generate_DebugBreakCallHelper(masm, a0.bit() | a1.bit() | a2.bit(), 0); 220 Generate_DebugBreakCallHelper(masm, a0.bit() | a1.bit() | a2.bit(), 0);
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 } 322 }
325 323
326 324
327 const bool LiveEdit::kFrameDropperSupported = true; 325 const bool LiveEdit::kFrameDropperSupported = true;
328 326
329 #undef __ 327 #undef __
330 328
331 } } // namespace v8::internal 329 } } // namespace v8::internal
332 330
333 #endif // V8_TARGET_ARCH_MIPS 331 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips/full-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698