| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 109 |
| 110 // static | 110 // static |
| 111 const Register ToLengthDescriptor::ReceiverRegister() { return x0; } | 111 const Register ToLengthDescriptor::ReceiverRegister() { return x0; } |
| 112 | 112 |
| 113 | 113 |
| 114 // static | 114 // static |
| 115 const Register ToStringDescriptor::ReceiverRegister() { return x0; } | 115 const Register ToStringDescriptor::ReceiverRegister() { return x0; } |
| 116 | 116 |
| 117 | 117 |
| 118 // static | 118 // static |
| 119 const Register ToNameDescriptor::ReceiverRegister() { return x0; } |
| 120 |
| 121 |
| 122 // static |
| 119 const Register ToObjectDescriptor::ReceiverRegister() { return x0; } | 123 const Register ToObjectDescriptor::ReceiverRegister() { return x0; } |
| 120 | 124 |
| 121 | 125 |
| 122 void NumberToStringDescriptor::InitializePlatformSpecific( | 126 void NumberToStringDescriptor::InitializePlatformSpecific( |
| 123 CallInterfaceDescriptorData* data) { | 127 CallInterfaceDescriptorData* data) { |
| 124 // x0: value | 128 // x0: value |
| 125 Register registers[] = {x0}; | 129 Register registers[] = {x0}; |
| 126 data->InitializePlatformSpecific(arraysize(registers), registers); | 130 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 127 } | 131 } |
| 128 | 132 |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 x1 // the runtime function to call | 494 x1 // the runtime function to call |
| 491 }; | 495 }; |
| 492 data->InitializePlatformSpecific(arraysize(registers), registers); | 496 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 493 } | 497 } |
| 494 | 498 |
| 495 | 499 |
| 496 } // namespace internal | 500 } // namespace internal |
| 497 } // namespace v8 | 501 } // namespace v8 |
| 498 | 502 |
| 499 #endif // V8_TARGET_ARCH_ARM64 | 503 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |