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 #include "src/arm64/interface-descriptors-arm64.h" | 5 #include "src/arm64/interface-descriptors-arm64.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
8 | 8 |
9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
10 | 10 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 95 |
96 | 96 |
97 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 97 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
98 CallInterfaceDescriptorData* data) { | 98 CallInterfaceDescriptorData* data) { |
99 // x1: function | 99 // x1: function |
100 Register registers[] = {x1}; | 100 Register registers[] = {x1}; |
101 data->InitializePlatformSpecific(arraysize(registers), registers); | 101 data->InitializePlatformSpecific(arraysize(registers), registers); |
102 } | 102 } |
103 | 103 |
104 | 104 |
| 105 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( |
| 106 CallInterfaceDescriptorData* data) { |
| 107 // x1: function |
| 108 Register registers[] = {x1}; |
| 109 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 110 } |
| 111 |
| 112 |
105 void ToNumberDescriptor::InitializePlatformSpecific( | 113 void ToNumberDescriptor::InitializePlatformSpecific( |
106 CallInterfaceDescriptorData* data) { | 114 CallInterfaceDescriptorData* data) { |
107 // x0: value | 115 // x0: value |
108 Register registers[] = {x0}; | 116 Register registers[] = {x0}; |
109 data->InitializePlatformSpecific(arraysize(registers), registers); | 117 data->InitializePlatformSpecific(arraysize(registers), registers); |
110 } | 118 } |
111 | 119 |
112 | 120 |
113 // static | 121 // static |
114 const Register ToLengthDescriptor::ReceiverRegister() { return x0; } | 122 const Register ToLengthDescriptor::ReceiverRegister() { return x0; } |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 x1 // the runtime function to call | 511 x1 // the runtime function to call |
504 }; | 512 }; |
505 data->InitializePlatformSpecific(arraysize(registers), registers); | 513 data->InitializePlatformSpecific(arraysize(registers), registers); |
506 } | 514 } |
507 | 515 |
508 | 516 |
509 } // namespace internal | 517 } // namespace internal |
510 } // namespace v8 | 518 } // namespace v8 |
511 | 519 |
512 #endif // V8_TARGET_ARCH_ARM64 | 520 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |