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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 data->InitializePlatformSpecific(arraysize(registers), registers); | 91 data->InitializePlatformSpecific(arraysize(registers), registers); |
92 } | 92 } |
93 | 93 |
94 | 94 |
95 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 95 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
96 CallInterfaceDescriptorData* data) { | 96 CallInterfaceDescriptorData* data) { |
97 Register registers[] = {rdi}; | 97 Register registers[] = {rdi}; |
98 data->InitializePlatformSpecific(arraysize(registers), registers); | 98 data->InitializePlatformSpecific(arraysize(registers), registers); |
99 } | 99 } |
100 | 100 |
| 101 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( |
| 102 CallInterfaceDescriptorData* data) { |
| 103 Register registers[] = {rdi}; |
| 104 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 105 } |
| 106 |
101 | 107 |
102 void TypeofDescriptor::InitializePlatformSpecific( | 108 void TypeofDescriptor::InitializePlatformSpecific( |
103 CallInterfaceDescriptorData* data) { | 109 CallInterfaceDescriptorData* data) { |
104 Register registers[] = {rbx}; | 110 Register registers[] = {rbx}; |
105 data->InitializePlatformSpecific(arraysize(registers), registers); | 111 data->InitializePlatformSpecific(arraysize(registers), registers); |
106 } | 112 } |
107 | 113 |
108 | 114 |
109 void ToNumberDescriptor::InitializePlatformSpecific( | 115 void ToNumberDescriptor::InitializePlatformSpecific( |
110 CallInterfaceDescriptorData* data) { | 116 CallInterfaceDescriptorData* data) { |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 r15, // address of first argument (argv) | 448 r15, // address of first argument (argv) |
443 rbx // the runtime function to call | 449 rbx // the runtime function to call |
444 }; | 450 }; |
445 data->InitializePlatformSpecific(arraysize(registers), registers); | 451 data->InitializePlatformSpecific(arraysize(registers), registers); |
446 } | 452 } |
447 | 453 |
448 } // namespace internal | 454 } // namespace internal |
449 } // namespace v8 | 455 } // namespace v8 |
450 | 456 |
451 #endif // V8_TARGET_ARCH_X64 | 457 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |