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/v8.h" | 5 #include "src/v8.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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 97 |
98 | 98 |
99 void ToNumberDescriptor::InitializePlatformSpecific( | 99 void ToNumberDescriptor::InitializePlatformSpecific( |
100 CallInterfaceDescriptorData* data) { | 100 CallInterfaceDescriptorData* data) { |
101 // x0: value | 101 // x0: value |
102 Register registers[] = {x0}; | 102 Register registers[] = {x0}; |
103 data->InitializePlatformSpecific(arraysize(registers), registers); | 103 data->InitializePlatformSpecific(arraysize(registers), registers); |
104 } | 104 } |
105 | 105 |
106 | 106 |
| 107 void ToObjectDescriptor::InitializePlatformSpecific( |
| 108 CallInterfaceDescriptorData* data) { |
| 109 // x0: value |
| 110 Register registers[] = {x0}; |
| 111 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 112 } |
| 113 |
| 114 |
107 void NumberToStringDescriptor::InitializePlatformSpecific( | 115 void NumberToStringDescriptor::InitializePlatformSpecific( |
108 CallInterfaceDescriptorData* data) { | 116 CallInterfaceDescriptorData* data) { |
109 // x0: value | 117 // x0: value |
110 Register registers[] = {x0}; | 118 Register registers[] = {x0}; |
111 data->InitializePlatformSpecific(arraysize(registers), registers); | 119 data->InitializePlatformSpecific(arraysize(registers), registers); |
112 } | 120 } |
113 | 121 |
114 | 122 |
115 void TypeofDescriptor::InitializePlatformSpecific( | 123 void TypeofDescriptor::InitializePlatformSpecific( |
116 CallInterfaceDescriptorData* data) { | 124 CallInterfaceDescriptorData* data) { |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 x1, // math rounding function | 426 x1, // math rounding function |
419 x3, // vector slot id | 427 x3, // vector slot id |
420 x4, // type vector | 428 x4, // type vector |
421 }; | 429 }; |
422 data->InitializePlatformSpecific(arraysize(registers), registers); | 430 data->InitializePlatformSpecific(arraysize(registers), registers); |
423 } | 431 } |
424 } // namespace internal | 432 } // namespace internal |
425 } // namespace v8 | 433 } // namespace v8 |
426 | 434 |
427 #endif // V8_TARGET_ARCH_ARM64 | 435 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |