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

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

Issue 1362383002: [Interpreter] Add CallRuntime support to the interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix arm32 debug build check errors. 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/ia32/code-stubs-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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 #if V8_TARGET_ARCH_IA32 5 #if V8_TARGET_ARCH_IA32
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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 InitializePlatformSpecific(CallInterfaceDescriptorData* data) { 393 InitializePlatformSpecific(CallInterfaceDescriptorData* data) {
394 Register registers[] = { 394 Register registers[] = {
395 edi, // math rounding function 395 edi, // math rounding function
396 edx, // vector slot id 396 edx, // vector slot id
397 ebx // type vector 397 ebx // type vector
398 }; 398 };
399 data->InitializePlatformSpecific(arraysize(registers), registers); 399 data->InitializePlatformSpecific(arraysize(registers), registers);
400 } 400 }
401 401
402 402
403 void PushArgsAndCallDescriptor::InitializePlatformSpecific( 403 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
404 CallInterfaceDescriptorData* data) { 404 CallInterfaceDescriptorData* data) {
405 Register registers[] = { 405 Register registers[] = {
406 eax, // argument count (including receiver) 406 eax, // argument count (not including receiver)
407 ebx, // address of first argument 407 ebx, // address of first argument
408 edi // the target callable to be call 408 edi // the target callable to be call
409 }; 409 };
410 data->InitializePlatformSpecific(arraysize(registers), registers); 410 data->InitializePlatformSpecific(arraysize(registers), registers);
411 } 411 }
412 412
413
414 void InterpreterCEntryDescriptor::InitializePlatformSpecific(
415 CallInterfaceDescriptorData* data) {
416 Register registers[] = {
417 eax, // argument count (argc)
418 ecx, // address of first argument (argv)
419 ebx // the runtime function to call
420 };
421 data->InitializePlatformSpecific(arraysize(registers), registers);
422 }
423
413 } // namespace internal 424 } // namespace internal
414 } // namespace v8 425 } // namespace v8
415 426
416 #endif // V8_TARGET_ARCH_IA32 427 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ia32/macro-assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698