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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 void InterpreterCEntryDescriptor::InitializePlatformSpecific( | 438 void InterpreterCEntryDescriptor::InitializePlatformSpecific( |
439 CallInterfaceDescriptorData* data) { | 439 CallInterfaceDescriptorData* data) { |
440 Register registers[] = { | 440 Register registers[] = { |
441 rax, // argument count (argc) | 441 rax, // argument count (argc) |
442 r15, // address of first argument (argv) | 442 r15, // address of first argument (argv) |
443 rbx // the runtime function to call | 443 rbx // the runtime function to call |
444 }; | 444 }; |
445 data->InitializePlatformSpecific(arraysize(registers), registers); | 445 data->InitializePlatformSpecific(arraysize(registers), registers); |
446 } | 446 } |
447 | 447 |
| 448 |
| 449 void AtomicsLoadDescriptor::InitializePlatformSpecific( |
| 450 CallInterfaceDescriptorData* data) { |
| 451 Register registers[] = {rdx, rax}; |
| 452 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 453 } |
| 454 |
| 455 |
448 } // namespace internal | 456 } // namespace internal |
449 } // namespace v8 | 457 } // namespace v8 |
450 | 458 |
451 #endif // V8_TARGET_ARCH_X64 | 459 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |