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

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

Issue 508673002: MIPS: Move register conventions out of the IC classes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix nits. Created 6 years, 3 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // Register state for CallICStub 178 // Register state for CallICStub
179 // ----------- S t a t e ------------- 179 // ----------- S t a t e -------------
180 // -- a1 : function 180 // -- a1 : function
181 // -- a3 : slot in feedback array (smi) 181 // -- a3 : slot in feedback array (smi)
182 // ----------------------------------- 182 // -----------------------------------
183 Generate_DebugBreakCallHelper(masm, a1.bit() | a3.bit(), 0); 183 Generate_DebugBreakCallHelper(masm, a1.bit() | a3.bit(), 0);
184 } 184 }
185 185
186 186
187 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { 187 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) {
188 Register receiver = LoadIC::ReceiverRegister(); 188 Register receiver = LoadConvention::ReceiverRegister();
189 Register name = LoadIC::NameRegister(); 189 Register name = LoadConvention::NameRegister();
190 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0); 190 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0);
191 } 191 }
192 192
193 193
194 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { 194 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) {
195 // Calling convention for IC store (from ic-mips.cc). 195 // Calling convention for IC store (from ic-mips.cc).
196 Register receiver = StoreIC::ReceiverRegister(); 196 Register receiver = StoreConvention::ReceiverRegister();
197 Register name = StoreIC::NameRegister(); 197 Register name = StoreConvention::NameRegister();
198 Register value = StoreIC::ValueRegister(); 198 Register value = StoreConvention::ValueRegister();
199 Generate_DebugBreakCallHelper( 199 Generate_DebugBreakCallHelper(
200 masm, receiver.bit() | name.bit() | value.bit(), 0); 200 masm, receiver.bit() | name.bit() | value.bit(), 0);
201 } 201 }
202 202
203 203
204 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { 204 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) {
205 // Calling convention for keyed IC load (from ic-mips.cc). 205 // Calling convention for keyed IC load (from ic-mips.cc).
206 GenerateLoadICDebugBreak(masm); 206 GenerateLoadICDebugBreak(masm);
207 } 207 }
208 208
209 209
210 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { 210 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) {
211 // Calling convention for IC keyed store call (from ic-mips.cc). 211 // Calling convention for IC keyed store call (from ic-mips.cc).
212 Register receiver = KeyedStoreIC::ReceiverRegister(); 212 Register receiver = StoreConvention::ReceiverRegister();
213 Register name = KeyedStoreIC::NameRegister(); 213 Register name = StoreConvention::NameRegister();
214 Register value = KeyedStoreIC::ValueRegister(); 214 Register value = StoreConvention::ValueRegister();
215 Generate_DebugBreakCallHelper( 215 Generate_DebugBreakCallHelper(
216 masm, receiver.bit() | name.bit() | value.bit(), 0); 216 masm, receiver.bit() | name.bit() | value.bit(), 0);
217 } 217 }
218 218
219 219
220 void DebugCodegen::GenerateCompareNilICDebugBreak(MacroAssembler* masm) { 220 void DebugCodegen::GenerateCompareNilICDebugBreak(MacroAssembler* masm) {
221 // Register state for CompareNil IC 221 // Register state for CompareNil IC
222 // ----------- S t a t e ------------- 222 // ----------- S t a t e -------------
223 // -- a0 : value 223 // -- a0 : value
224 // ----------------------------------- 224 // -----------------------------------
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 } 318 }
319 319
320 320
321 const bool LiveEdit::kFrameDropperSupported = true; 321 const bool LiveEdit::kFrameDropperSupported = true;
322 322
323 #undef __ 323 #undef __
324 324
325 } } // namespace v8::internal 325 } } // namespace v8::internal
326 326
327 #endif // V8_TARGET_ARCH_MIPS 327 #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