OLD | NEW |
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_X64 | 5 #if V8_TARGET_ARCH_X64 |
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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 void InterpreterCEntryDescriptor::InitializePlatformSpecific( | 426 void InterpreterCEntryDescriptor::InitializePlatformSpecific( |
427 CallInterfaceDescriptorData* data) { | 427 CallInterfaceDescriptorData* data) { |
428 Register registers[] = { | 428 Register registers[] = { |
429 rax, // argument count (argc) | 429 rax, // argument count (argc) |
430 r15, // address of first argument (argv) | 430 r15, // address of first argument (argv) |
431 rbx // the runtime function to call | 431 rbx // the runtime function to call |
432 }; | 432 }; |
433 data->InitializePlatformSpecific(arraysize(registers), registers); | 433 data->InitializePlatformSpecific(arraysize(registers), registers); |
434 } | 434 } |
435 | 435 |
| 436 |
| 437 void AtomicsLoadDescriptor::InitializePlatformSpecific( |
| 438 CallInterfaceDescriptorData* data) { |
| 439 Register registers[] = {rdx, rax}; |
| 440 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 441 } |
| 442 |
436 } // namespace internal | 443 } // namespace internal |
437 } // namespace v8 | 444 } // namespace v8 |
438 | 445 |
439 #endif // V8_TARGET_ARCH_X64 | 446 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |