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

Side by Side Diff: src/x64/interface-descriptors-x64.cc

Issue 1901083002: [Interpreter] Introduce IncStub and DecStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address review comments Created 4 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
« src/code-stubs.cc ('K') | « src/interpreter/interpreter.cc ('k') | no next file » | 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 #if V8_TARGET_ARCH_X64 5 #if V8_TARGET_ARCH_X64
6 6
7 #include "src/interface-descriptors.h" 7 #include "src/interface-descriptors.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 data->InitializePlatformSpecific(arraysize(registers), registers); 306 data->InitializePlatformSpecific(arraysize(registers), registers);
307 } 307 }
308 308
309 309
310 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( 310 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific(
311 CallInterfaceDescriptorData* data) { 311 CallInterfaceDescriptorData* data) {
312 Register registers[] = {rcx, rdx, rax}; 312 Register registers[] = {rcx, rdx, rax};
313 data->InitializePlatformSpecific(arraysize(registers), registers); 313 data->InitializePlatformSpecific(arraysize(registers), registers);
314 } 314 }
315 315
316 void CountOpDescriptor::InitializePlatformSpecific(
317 CallInterfaceDescriptorData* data) {
318 Register registers[] = {rax};
319 data->InitializePlatformSpecific(arraysize(registers), registers);
320 }
316 321
317 void StringAddDescriptor::InitializePlatformSpecific( 322 void StringAddDescriptor::InitializePlatformSpecific(
318 CallInterfaceDescriptorData* data) { 323 CallInterfaceDescriptorData* data) {
319 Register registers[] = {rdx, rax}; 324 Register registers[] = {rdx, rax};
320 data->InitializePlatformSpecific(arraysize(registers), registers); 325 data->InitializePlatformSpecific(arraysize(registers), registers);
321 } 326 }
322 327
323 328
324 void KeyedDescriptor::InitializePlatformSpecific( 329 void KeyedDescriptor::InitializePlatformSpecific(
325 CallInterfaceDescriptorData* data) { 330 CallInterfaceDescriptorData* data) {
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 rbx, // the JSGeneratorObject to resume 422 rbx, // the JSGeneratorObject to resume
418 rdx // the resume mode (tagged) 423 rdx // the resume mode (tagged)
419 }; 424 };
420 data->InitializePlatformSpecific(arraysize(registers), registers); 425 data->InitializePlatformSpecific(arraysize(registers), registers);
421 } 426 }
422 427
423 } // namespace internal 428 } // namespace internal
424 } // namespace v8 429 } // namespace v8
425 430
426 #endif // V8_TARGET_ARCH_X64 431 #endif // V8_TARGET_ARCH_X64
OLDNEW
« src/code-stubs.cc ('K') | « src/interpreter/interpreter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698