| 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 // x1: function info | 67 // x2: function info |
| 68 // x2: feedback vector | 68 Register registers[] = {x2}; |
| 69 // x3: slot | |
| 70 Register registers[] = {x1, x2, x3}; | |
| 71 data->InitializePlatformSpecific(arraysize(registers), registers); | 69 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 72 } | 70 } |
| 73 | 71 |
| 74 void FastNewObjectDescriptor::InitializePlatformSpecific( | 72 void FastNewObjectDescriptor::InitializePlatformSpecific( |
| 75 CallInterfaceDescriptorData* data) { | 73 CallInterfaceDescriptorData* data) { |
| 76 Register registers[] = {x1, x3}; | 74 Register registers[] = {x1, x3}; |
| 77 data->InitializePlatformSpecific(arraysize(registers), registers); | 75 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 78 } | 76 } |
| 79 | 77 |
| 80 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 78 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 x1, // the JSGeneratorObject to resume | 462 x1, // the JSGeneratorObject to resume |
| 465 x2 // the resume mode (tagged) | 463 x2 // the resume mode (tagged) |
| 466 }; | 464 }; |
| 467 data->InitializePlatformSpecific(arraysize(registers), registers); | 465 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 468 } | 466 } |
| 469 | 467 |
| 470 } // namespace internal | 468 } // namespace internal |
| 471 } // namespace v8 | 469 } // namespace v8 |
| 472 | 470 |
| 473 #endif // V8_TARGET_ARCH_ARM64 | 471 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |