| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 | 57 |
| 58 const Register MathPowIntegerDescriptor::exponent() { return x12; } | 58 const Register MathPowIntegerDescriptor::exponent() { return x12; } |
| 59 | 59 |
| 60 | 60 |
| 61 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } | 61 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } |
| 62 const Register GrowArrayElementsDescriptor::KeyRegister() { return x3; } | 62 const Register GrowArrayElementsDescriptor::KeyRegister() { return x3; } |
| 63 | 63 |
| 64 | 64 |
| 65 void FastNewClosureDescriptor::InitializePlatformSpecific( | 65 void FastNewClosureDescriptor::InitializePlatformSpecific( |
| 66 CallInterfaceDescriptorData* data) { | 66 CallInterfaceDescriptorData* data) { |
| 67 // x2: function info | 67 // x1: function info |
| 68 Register registers[] = {x2}; | 68 // x2: feedback vector |
| 69 // x3: slot |
| 70 Register registers[] = {x1, x2, x3}; |
| 69 data->InitializePlatformSpecific(arraysize(registers), registers); | 71 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 70 } | 72 } |
| 71 | 73 |
| 72 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 74 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
| 73 CallInterfaceDescriptorData* data) { | 75 CallInterfaceDescriptorData* data) { |
| 74 // x1: function | 76 // x1: function |
| 75 Register registers[] = {x1}; | 77 Register registers[] = {x1}; |
| 76 data->InitializePlatformSpecific(arraysize(registers), registers); | 78 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 77 } | 79 } |
| 78 | 80 |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 x1, // the JSGeneratorObject to resume | 458 x1, // the JSGeneratorObject to resume |
| 457 x2 // the resume mode (tagged) | 459 x2 // the resume mode (tagged) |
| 458 }; | 460 }; |
| 459 data->InitializePlatformSpecific(arraysize(registers), registers); | 461 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 460 } | 462 } |
| 461 | 463 |
| 462 } // namespace internal | 464 } // namespace internal |
| 463 } // namespace v8 | 465 } // namespace v8 |
| 464 | 466 |
| 465 #endif // V8_TARGET_ARCH_ARM64 | 467 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |