| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 const Register MathPowTaggedDescriptor::exponent() { return x11; } | 69 const Register MathPowTaggedDescriptor::exponent() { return x11; } |
| 70 | 70 |
| 71 | 71 |
| 72 const Register MathPowIntegerDescriptor::exponent() { return x12; } | 72 const Register MathPowIntegerDescriptor::exponent() { return x12; } |
| 73 | 73 |
| 74 | 74 |
| 75 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } | 75 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } |
| 76 const Register GrowArrayElementsDescriptor::KeyRegister() { return x3; } | 76 const Register GrowArrayElementsDescriptor::KeyRegister() { return x3; } |
| 77 | 77 |
| 78 | 78 |
| 79 void StoreTransitionDescriptor::InitializePlatformSpecific( |
| 80 CallInterfaceDescriptorData* data) { |
| 81 Register registers[] = {ReceiverRegister(), NameRegister(), ValueRegister(), |
| 82 MapRegister()}; |
| 83 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 84 } |
| 85 |
| 86 |
| 79 void FastNewClosureDescriptor::InitializePlatformSpecific( | 87 void FastNewClosureDescriptor::InitializePlatformSpecific( |
| 80 CallInterfaceDescriptorData* data) { | 88 CallInterfaceDescriptorData* data) { |
| 81 // x2: function info | 89 // x2: function info |
| 82 Register registers[] = {x2}; | 90 Register registers[] = {x2}; |
| 83 data->InitializePlatformSpecific(arraysize(registers), registers); | 91 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 84 } | 92 } |
| 85 | 93 |
| 86 | 94 |
| 87 void FastNewContextDescriptor::InitializePlatformSpecific( | 95 void FastNewContextDescriptor::InitializePlatformSpecific( |
| 88 CallInterfaceDescriptorData* data) { | 96 CallInterfaceDescriptorData* data) { |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 x1, // math rounding function | 422 x1, // math rounding function |
| 415 x3, // vector slot id | 423 x3, // vector slot id |
| 416 x4, // type vector | 424 x4, // type vector |
| 417 }; | 425 }; |
| 418 data->InitializePlatformSpecific(arraysize(registers), registers); | 426 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 419 } | 427 } |
| 420 } // namespace internal | 428 } // namespace internal |
| 421 } // namespace v8 | 429 } // namespace v8 |
| 422 | 430 |
| 423 #endif // V8_TARGET_ARCH_ARM64 | 431 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |