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

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

Issue 486213003: Move register conventions out of the IC classes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE. 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/arm64/code-stubs-arm64.cc ('k') | src/arm64/full-codegen-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/debug.h" 10 #include "src/debug.h"
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 // ----------- S t a t e ------------- 229 // ----------- S t a t e -------------
230 // -- x1 : function 230 // -- x1 : function
231 // -- x3 : slot in feedback array 231 // -- x3 : slot in feedback array
232 // ----------------------------------- 232 // -----------------------------------
233 Generate_DebugBreakCallHelper(masm, x1.Bit() | x3.Bit(), 0, x10); 233 Generate_DebugBreakCallHelper(masm, x1.Bit() | x3.Bit(), 0, x10);
234 } 234 }
235 235
236 236
237 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { 237 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) {
238 // Calling convention for IC load (from ic-arm.cc). 238 // Calling convention for IC load (from ic-arm.cc).
239 Register receiver = LoadIC::ReceiverRegister(); 239 Register receiver = LoadConvention::ReceiverRegister();
240 Register name = LoadIC::NameRegister(); 240 Register name = LoadConvention::NameRegister();
241 Generate_DebugBreakCallHelper(masm, receiver.Bit() | name.Bit(), 0, x10); 241 Generate_DebugBreakCallHelper(masm, receiver.Bit() | name.Bit(), 0, x10);
242 } 242 }
243 243
244 244
245 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { 245 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) {
246 // Calling convention for IC store (from ic-arm64.cc). 246 // Calling convention for IC store (from ic-arm64.cc).
247 Register receiver = StoreIC::ReceiverRegister(); 247 Register receiver = StoreConvention::ReceiverRegister();
248 Register name = StoreIC::NameRegister(); 248 Register name = StoreConvention::NameRegister();
249 Register value = StoreIC::ValueRegister(); 249 Register value = StoreConvention::ValueRegister();
250 Generate_DebugBreakCallHelper( 250 Generate_DebugBreakCallHelper(
251 masm, receiver.Bit() | name.Bit() | value.Bit(), 0, x10); 251 masm, receiver.Bit() | name.Bit() | value.Bit(), 0, x10);
252 } 252 }
253 253
254 254
255 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { 255 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) {
256 // Calling convention for keyed IC load (from ic-arm.cc). 256 // Calling convention for keyed IC load (from ic-arm.cc).
257 GenerateLoadICDebugBreak(masm); 257 GenerateLoadICDebugBreak(masm);
258 } 258 }
259 259
260 260
261 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { 261 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) {
262 // Calling convention for IC keyed store call (from ic-arm64.cc). 262 // Calling convention for IC keyed store call (from ic-arm64.cc).
263 Register receiver = KeyedStoreIC::ReceiverRegister(); 263 Register receiver = StoreConvention::ReceiverRegister();
264 Register name = KeyedStoreIC::NameRegister(); 264 Register name = StoreConvention::NameRegister();
265 Register value = KeyedStoreIC::ValueRegister(); 265 Register value = StoreConvention::ValueRegister();
266 Generate_DebugBreakCallHelper( 266 Generate_DebugBreakCallHelper(
267 masm, receiver.Bit() | name.Bit() | value.Bit(), 0, x10); 267 masm, receiver.Bit() | name.Bit() | value.Bit(), 0, x10);
268 } 268 }
269 269
270 270
271 void DebugCodegen::GenerateCompareNilICDebugBreak(MacroAssembler* masm) { 271 void DebugCodegen::GenerateCompareNilICDebugBreak(MacroAssembler* masm) {
272 // Register state for CompareNil IC 272 // Register state for CompareNil IC
273 // ----------- S t a t e ------------- 273 // ----------- S t a t e -------------
274 // -- r0 : value 274 // -- r0 : value
275 // ----------------------------------- 275 // -----------------------------------
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 // Re-run JSFunction, x1 is function, cp is context. 369 // Re-run JSFunction, x1 is function, cp is context.
370 __ Br(scratch); 370 __ Br(scratch);
371 } 371 }
372 372
373 373
374 const bool LiveEdit::kFrameDropperSupported = true; 374 const bool LiveEdit::kFrameDropperSupported = true;
375 375
376 } } // namespace v8::internal 376 } } // namespace v8::internal
377 377
378 #endif // V8_TARGET_ARCH_ARM64 378 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/arm64/full-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698