| 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 // static |
| 108 const Register ToObjectDescriptor::ReceiverRegister() { return x0; } |
| 109 |
| 110 |
| 107 void NumberToStringDescriptor::InitializePlatformSpecific( | 111 void NumberToStringDescriptor::InitializePlatformSpecific( |
| 108 CallInterfaceDescriptorData* data) { | 112 CallInterfaceDescriptorData* data) { |
| 109 // x0: value | 113 // x0: value |
| 110 Register registers[] = {x0}; | 114 Register registers[] = {x0}; |
| 111 data->InitializePlatformSpecific(arraysize(registers), registers); | 115 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 112 } | 116 } |
| 113 | 117 |
| 114 | 118 |
| 115 void TypeofDescriptor::InitializePlatformSpecific( | 119 void TypeofDescriptor::InitializePlatformSpecific( |
| 116 CallInterfaceDescriptorData* data) { | 120 CallInterfaceDescriptorData* data) { |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 x1, // math rounding function | 422 x1, // math rounding function |
| 419 x3, // vector slot id | 423 x3, // vector slot id |
| 420 x4, // type vector | 424 x4, // type vector |
| 421 }; | 425 }; |
| 422 data->InitializePlatformSpecific(arraysize(registers), registers); | 426 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 423 } | 427 } |
| 424 } // namespace internal | 428 } // namespace internal |
| 425 } // namespace v8 | 429 } // namespace v8 |
| 426 | 430 |
| 427 #endif // V8_TARGET_ARCH_ARM64 | 431 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |