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_ARM64 | 5 #if V8_TARGET_ARCH_ARM64 |
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 93 |
94 void ToNumberDescriptor::InitializePlatformSpecific( | 94 void ToNumberDescriptor::InitializePlatformSpecific( |
95 CallInterfaceDescriptorData* data) { | 95 CallInterfaceDescriptorData* data) { |
96 // x0: value | 96 // x0: value |
97 Register registers[] = {x0}; | 97 Register registers[] = {x0}; |
98 data->InitializePlatformSpecific(arraysize(registers), registers); | 98 data->InitializePlatformSpecific(arraysize(registers), registers); |
99 } | 99 } |
100 | 100 |
101 | 101 |
102 // static | 102 // static |
| 103 const Register ToStringDescriptor::ReceiverRegister() { return x0; } |
| 104 |
| 105 |
| 106 // static |
103 const Register ToObjectDescriptor::ReceiverRegister() { return x0; } | 107 const Register ToObjectDescriptor::ReceiverRegister() { return x0; } |
104 | 108 |
105 | 109 |
106 void NumberToStringDescriptor::InitializePlatformSpecific( | 110 void NumberToStringDescriptor::InitializePlatformSpecific( |
107 CallInterfaceDescriptorData* data) { | 111 CallInterfaceDescriptorData* data) { |
108 // x0: value | 112 // x0: value |
109 Register registers[] = {x0}; | 113 Register registers[] = {x0}; |
110 data->InitializePlatformSpecific(arraysize(registers), registers); | 114 data->InitializePlatformSpecific(arraysize(registers), registers); |
111 } | 115 } |
112 | 116 |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 x1, // math rounding function | 421 x1, // math rounding function |
418 x3, // vector slot id | 422 x3, // vector slot id |
419 x4, // type vector | 423 x4, // type vector |
420 }; | 424 }; |
421 data->InitializePlatformSpecific(arraysize(registers), registers); | 425 data->InitializePlatformSpecific(arraysize(registers), registers); |
422 } | 426 } |
423 } // namespace internal | 427 } // namespace internal |
424 } // namespace v8 | 428 } // namespace v8 |
425 | 429 |
426 #endif // V8_TARGET_ARCH_ARM64 | 430 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |