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

Side by Side Diff: src/arm/interface-descriptors-arm.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/arm/builtins-arm.cc ('k') | src/arm/macro-assembler-arm.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/arm/interface-descriptors-arm.h" 5 #include "src/arm/interface-descriptors-arm.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 r2, // holder 391 r2, // holder
392 r1, // api_function_address 392 r1, // api_function_address
393 }; 393 };
394 data->InitializePlatformSpecific(arraysize(registers), registers, 394 data->InitializePlatformSpecific(arraysize(registers), registers,
395 &default_descriptor); 395 &default_descriptor);
396 } 396 }
397 397
398 void InterpreterDispatchDescriptor::InitializePlatformSpecific( 398 void InterpreterDispatchDescriptor::InitializePlatformSpecific(
399 CallInterfaceDescriptorData* data) { 399 CallInterfaceDescriptorData* data) {
400 Register registers[] = { 400 Register registers[] = {
401 kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister, 401 kInterpreterAccumulatorRegister, kInterpreterBytecodeOffsetRegister,
402 kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister, 402 kInterpreterBytecodeArrayRegister, kInterpreterDispatchTableRegister};
403 kInterpreterDispatchTableRegister};
404 data->InitializePlatformSpecific(arraysize(registers), registers); 403 data->InitializePlatformSpecific(arraysize(registers), registers);
405 } 404 }
406 405
407 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( 406 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
408 CallInterfaceDescriptorData* data) { 407 CallInterfaceDescriptorData* data) {
409 Register registers[] = { 408 Register registers[] = {
410 r0, // argument count (not including receiver) 409 r0, // argument count (not including receiver)
411 r2, // address of first argument 410 r2, // address of first argument
412 r1 // the target callable to be call 411 r1 // the target callable to be call
413 }; 412 };
(...skipping 28 matching lines...) Expand all
442 r1, // the JSGeneratorObject to resume 441 r1, // the JSGeneratorObject to resume
443 r2 // the resume mode (tagged) 442 r2 // the resume mode (tagged)
444 }; 443 };
445 data->InitializePlatformSpecific(arraysize(registers), registers); 444 data->InitializePlatformSpecific(arraysize(registers), registers);
446 } 445 }
447 446
448 } // namespace internal 447 } // namespace internal
449 } // namespace v8 448 } // namespace v8
450 449
451 #endif // V8_TARGET_ARCH_ARM 450 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/builtins-arm.cc ('k') | src/arm/macro-assembler-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698