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

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

Issue 1894063002: [Interpreter] Remove register file register and replace with LoadParentFramePointer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix gcc 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/arm64/builtins-arm64.cc ('k') | src/arm64/macro-assembler-arm64.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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 x2, // holder 423 x2, // holder
424 x1, // api_function_address 424 x1, // api_function_address
425 }; 425 };
426 data->InitializePlatformSpecific(arraysize(registers), registers, 426 data->InitializePlatformSpecific(arraysize(registers), registers,
427 &default_descriptor); 427 &default_descriptor);
428 } 428 }
429 429
430 void InterpreterDispatchDescriptor::InitializePlatformSpecific( 430 void InterpreterDispatchDescriptor::InitializePlatformSpecific(
431 CallInterfaceDescriptorData* data) { 431 CallInterfaceDescriptorData* data) {
432 Register registers[] = { 432 Register registers[] = {
433 kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister, 433 kInterpreterAccumulatorRegister, kInterpreterBytecodeOffsetRegister,
434 kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister, 434 kInterpreterBytecodeArrayRegister, kInterpreterDispatchTableRegister};
435 kInterpreterDispatchTableRegister};
436 data->InitializePlatformSpecific(arraysize(registers), registers); 435 data->InitializePlatformSpecific(arraysize(registers), registers);
437 } 436 }
438 437
439 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( 438 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
440 CallInterfaceDescriptorData* data) { 439 CallInterfaceDescriptorData* data) {
441 Register registers[] = { 440 Register registers[] = {
442 x0, // argument count (not including receiver) 441 x0, // argument count (not including receiver)
443 x2, // address of first argument 442 x2, // address of first argument
444 x1 // the target callable to be call 443 x1 // the target callable to be call
445 }; 444 };
(...skipping 28 matching lines...) Expand all
474 x1, // the JSGeneratorObject to resume 473 x1, // the JSGeneratorObject to resume
475 x2 // the resume mode (tagged) 474 x2 // the resume mode (tagged)
476 }; 475 };
477 data->InitializePlatformSpecific(arraysize(registers), registers); 476 data->InitializePlatformSpecific(arraysize(registers), registers);
478 } 477 }
479 478
480 } // namespace internal 479 } // namespace internal
481 } // namespace v8 480 } // namespace v8
482 481
483 #endif // V8_TARGET_ARCH_ARM64 482 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/arm64/macro-assembler-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698