| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 const Register GrowArrayElementsDescriptor::KeyRegister() { return x3; } | 69 const Register GrowArrayElementsDescriptor::KeyRegister() { return x3; } |
| 70 | 70 |
| 71 | 71 |
| 72 void FastNewClosureDescriptor::InitializePlatformSpecific( | 72 void FastNewClosureDescriptor::InitializePlatformSpecific( |
| 73 CallInterfaceDescriptorData* data) { | 73 CallInterfaceDescriptorData* data) { |
| 74 // x2: function info | 74 // x2: function info |
| 75 Register registers[] = {x2}; | 75 Register registers[] = {x2}; |
| 76 data->InitializePlatformSpecific(arraysize(registers), registers); | 76 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 77 } | 77 } |
| 78 | 78 |
| 79 | 79 void FastNewFunctionContextDescriptor::InitializePlatformSpecific( |
| 80 void FastNewContextDescriptor::InitializePlatformSpecific( | |
| 81 CallInterfaceDescriptorData* data) { | 80 CallInterfaceDescriptorData* data) { |
| 82 // x1: function | 81 // x1: function |
| 83 Register registers[] = {x1}; | 82 Register registers[] = {x1}; |
| 84 data->InitializePlatformSpecific(arraysize(registers), registers); | 83 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 85 } | 84 } |
| 86 | 85 |
| 87 void FastNewObjectDescriptor::InitializePlatformSpecific( | 86 void FastNewObjectDescriptor::InitializePlatformSpecific( |
| 88 CallInterfaceDescriptorData* data) { | 87 CallInterfaceDescriptorData* data) { |
| 89 Register registers[] = {x1, x3}; | 88 Register registers[] = {x1, x3}; |
| 90 data->InitializePlatformSpecific(arraysize(registers), registers); | 89 data->InitializePlatformSpecific(arraysize(registers), registers); |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 x1, // the JSGeneratorObject to resume | 463 x1, // the JSGeneratorObject to resume |
| 465 x2 // the resume mode (tagged) | 464 x2 // the resume mode (tagged) |
| 466 }; | 465 }; |
| 467 data->InitializePlatformSpecific(arraysize(registers), registers); | 466 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 468 } | 467 } |
| 469 | 468 |
| 470 } // namespace internal | 469 } // namespace internal |
| 471 } // namespace v8 | 470 } // namespace v8 |
| 472 | 471 |
| 473 #endif // V8_TARGET_ARCH_ARM64 | 472 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |