| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 const Register MathPowTaggedDescriptor::exponent() { return x11; } | 71 const Register MathPowTaggedDescriptor::exponent() { return x11; } |
| 72 | 72 |
| 73 | 73 |
| 74 const Register MathPowIntegerDescriptor::exponent() { return x12; } | 74 const Register MathPowIntegerDescriptor::exponent() { return x12; } |
| 75 | 75 |
| 76 | 76 |
| 77 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } | 77 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } |
| 78 const Register GrowArrayElementsDescriptor::KeyRegister() { return x3; } | 78 const Register GrowArrayElementsDescriptor::KeyRegister() { return x3; } |
| 79 | 79 |
| 80 | 80 |
| 81 void VectorStoreTransitionDescriptor::InitializePlatformSpecific( | |
| 82 CallInterfaceDescriptorData* data) { | |
| 83 Register registers[] = {ReceiverRegister(), NameRegister(), ValueRegister(), | |
| 84 SlotRegister(), VectorRegister(), MapRegister()}; | |
| 85 data->InitializePlatformSpecific(arraysize(registers), registers); | |
| 86 } | |
| 87 | |
| 88 | |
| 89 void FastNewClosureDescriptor::InitializePlatformSpecific( | 81 void FastNewClosureDescriptor::InitializePlatformSpecific( |
| 90 CallInterfaceDescriptorData* data) { | 82 CallInterfaceDescriptorData* data) { |
| 91 // x2: function info | 83 // x2: function info |
| 92 Register registers[] = {x2}; | 84 Register registers[] = {x2}; |
| 93 data->InitializePlatformSpecific(arraysize(registers), registers); | 85 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 94 } | 86 } |
| 95 | 87 |
| 96 | 88 |
| 97 void FastNewContextDescriptor::InitializePlatformSpecific( | 89 void FastNewContextDescriptor::InitializePlatformSpecific( |
| 98 CallInterfaceDescriptorData* data) { | 90 CallInterfaceDescriptorData* data) { |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 x1 // the runtime function to call | 457 x1 // the runtime function to call |
| 466 }; | 458 }; |
| 467 data->InitializePlatformSpecific(arraysize(registers), registers); | 459 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 468 } | 460 } |
| 469 | 461 |
| 470 | 462 |
| 471 } // namespace internal | 463 } // namespace internal |
| 472 } // namespace v8 | 464 } // namespace v8 |
| 473 | 465 |
| 474 #endif // V8_TARGET_ARCH_ARM64 | 466 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |