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

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

Issue 1475953002: [stubs] A new approach to TF stubs (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix Win64 build Created 5 years 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/heap/heap.cc ('k') | src/interface-descriptors.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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 Register registers[] = { 390 Register registers[] = {
391 edi, // callee 391 edi, // callee
392 ebx, // call_data 392 ebx, // call_data
393 ecx, // holder 393 ecx, // holder
394 edx, // api_function_address 394 edx, // api_function_address
395 }; 395 };
396 data->InitializePlatformSpecific(arraysize(registers), registers); 396 data->InitializePlatformSpecific(arraysize(registers), registers);
397 } 397 }
398 398
399 399
400 void MathRoundVariantCallFromUnoptimizedCodeDescriptor::
401 InitializePlatformSpecific(CallInterfaceDescriptorData* data) {
402 Register registers[] = {
403 edi, // math rounding function
404 edx, // vector slot id
405 };
406 data->InitializePlatformSpecific(arraysize(registers), registers);
407 }
408
409
410 void MathRoundVariantCallFromOptimizedCodeDescriptor::
411 InitializePlatformSpecific(CallInterfaceDescriptorData* data) {
412 Register registers[] = {
413 edi, // math rounding function
414 edx, // vector slot id
415 ebx // type vector
416 };
417 data->InitializePlatformSpecific(arraysize(registers), registers);
418 }
419
420
421 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( 400 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
422 CallInterfaceDescriptorData* data) { 401 CallInterfaceDescriptorData* data) {
423 Register registers[] = { 402 Register registers[] = {
424 eax, // argument count (not including receiver) 403 eax, // argument count (not including receiver)
425 ebx, // address of first argument 404 ebx, // address of first argument
426 edi // the target callable to be call 405 edi // the target callable to be call
427 }; 406 };
428 data->InitializePlatformSpecific(arraysize(registers), registers); 407 data->InitializePlatformSpecific(arraysize(registers), registers);
429 } 408 }
430 409
(...skipping 17 matching lines...) Expand all
448 ecx, // address of first argument (argv) 427 ecx, // address of first argument (argv)
449 ebx // the runtime function to call 428 ebx // the runtime function to call
450 }; 429 };
451 data->InitializePlatformSpecific(arraysize(registers), registers); 430 data->InitializePlatformSpecific(arraysize(registers), registers);
452 } 431 }
453 432
454 } // namespace internal 433 } // namespace internal
455 } // namespace v8 434 } // namespace v8
456 435
457 #endif // V8_TARGET_ARCH_IA32 436 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/heap/heap.cc ('k') | src/interface-descriptors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698