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

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

Issue 1901083002: [Interpreter] Introduce IncStub and DecStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase 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
« no previous file with comments | « src/arm/interface-descriptors-arm.cc ('k') | src/code-factory.h » ('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 #include "src/arm64/interface-descriptors-arm64.h" 5 #include "src/arm64/interface-descriptors-arm64.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 340
341 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( 341 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific(
342 CallInterfaceDescriptorData* data) { 342 CallInterfaceDescriptorData* data) {
343 // x2: allocation site 343 // x2: allocation site
344 // x1: left operand 344 // x1: left operand
345 // x0: right operand 345 // x0: right operand
346 Register registers[] = {x2, x1, x0}; 346 Register registers[] = {x2, x1, x0};
347 data->InitializePlatformSpecific(arraysize(registers), registers); 347 data->InitializePlatformSpecific(arraysize(registers), registers);
348 } 348 }
349 349
350 void CountOpDescriptor::InitializePlatformSpecific(
351 CallInterfaceDescriptorData* data) {
352 Register registers[] = {x1};
353 data->InitializePlatformSpecific(arraysize(registers), registers);
354 }
350 355
351 void StringAddDescriptor::InitializePlatformSpecific( 356 void StringAddDescriptor::InitializePlatformSpecific(
352 CallInterfaceDescriptorData* data) { 357 CallInterfaceDescriptorData* data) {
353 // x1: left operand 358 // x1: left operand
354 // x0: right operand 359 // x0: right operand
355 Register registers[] = {x1, x0}; 360 Register registers[] = {x1, x0};
356 data->InitializePlatformSpecific(arraysize(registers), registers); 361 data->InitializePlatformSpecific(arraysize(registers), registers);
357 } 362 }
358 363
359 364
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 x1, // the JSGeneratorObject to resume 477 x1, // the JSGeneratorObject to resume
473 x2 // the resume mode (tagged) 478 x2 // the resume mode (tagged)
474 }; 479 };
475 data->InitializePlatformSpecific(arraysize(registers), registers); 480 data->InitializePlatformSpecific(arraysize(registers), registers);
476 } 481 }
477 482
478 } // namespace internal 483 } // namespace internal
479 } // namespace v8 484 } // namespace v8
480 485
481 #endif // V8_TARGET_ARCH_ARM64 486 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/interface-descriptors-arm.cc ('k') | src/code-factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698