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

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

Issue 1387543002: Revert of [Interpreter] Add CallRuntime support to the interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/code-stubs-arm.cc ('k') | src/arm64/builtins-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 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 InitializePlatformSpecific(CallInterfaceDescriptorData* data) { 410 InitializePlatformSpecific(CallInterfaceDescriptorData* data) {
411 Register registers[] = { 411 Register registers[] = {
412 r1, // math rounding function 412 r1, // math rounding function
413 r3, // vector slot id 413 r3, // vector slot id
414 r4, // type vector 414 r4, // type vector
415 }; 415 };
416 data->InitializePlatformSpecific(arraysize(registers), registers); 416 data->InitializePlatformSpecific(arraysize(registers), registers);
417 } 417 }
418 418
419 419
420 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( 420 void PushArgsAndCallDescriptor::InitializePlatformSpecific(
421 CallInterfaceDescriptorData* data) { 421 CallInterfaceDescriptorData* data) {
422 Register registers[] = { 422 Register registers[] = {
423 r0, // argument count (not including receiver) 423 r0, // argument count (including receiver)
424 r2, // address of first argument 424 r2, // address of first argument
425 r1 // the target callable to be call 425 r1 // the target callable to be call
426 }; 426 };
427 data->InitializePlatformSpecific(arraysize(registers), registers); 427 data->InitializePlatformSpecific(arraysize(registers), registers);
428 } 428 }
429 429
430
431 void InterpreterCEntryDescriptor::InitializePlatformSpecific(
432 CallInterfaceDescriptorData* data) {
433 Register registers[] = {
434 r0, // argument count (argc)
435 r2, // address of first argument (argv)
436 r1 // the runtime function to call
437 };
438 data->InitializePlatformSpecific(arraysize(registers), registers);
439 }
440
441 } // namespace internal 430 } // namespace internal
442 } // namespace v8 431 } // namespace v8
443 432
444 #endif // V8_TARGET_ARCH_ARM 433 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm64/builtins-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698