| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 // x2: function info |
| 68 Register registers[] = {x2}; | 68 Register registers[] = {x2}; |
| 69 data->InitializePlatformSpecific(arraysize(registers), registers); | 69 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 70 } | 70 } |
| 71 | 71 |
| 72 void FastNewObjectDescriptor::InitializePlatformSpecific( | |
| 73 CallInterfaceDescriptorData* data) { | |
| 74 Register registers[] = {x1, x3}; | |
| 75 data->InitializePlatformSpecific(arraysize(registers), registers); | |
| 76 } | |
| 77 | |
| 78 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 72 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
| 79 CallInterfaceDescriptorData* data) { | 73 CallInterfaceDescriptorData* data) { |
| 80 // x1: function | 74 // x1: function |
| 81 Register registers[] = {x1}; | 75 Register registers[] = {x1}; |
| 82 data->InitializePlatformSpecific(arraysize(registers), registers); | 76 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 83 } | 77 } |
| 84 | 78 |
| 85 | 79 |
| 86 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( | 80 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( |
| 87 CallInterfaceDescriptorData* data) { | 81 CallInterfaceDescriptorData* data) { |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 462 x1, // the JSGeneratorObject to resume | 456 x1, // the JSGeneratorObject to resume |
| 463 x2 // the resume mode (tagged) | 457 x2 // the resume mode (tagged) |
| 464 }; | 458 }; |
| 465 data->InitializePlatformSpecific(arraysize(registers), registers); | 459 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 466 } | 460 } |
| 467 | 461 |
| 468 } // namespace internal | 462 } // namespace internal |
| 469 } // namespace v8 | 463 } // namespace v8 |
| 470 | 464 |
| 471 #endif // V8_TARGET_ARCH_ARM64 | 465 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |