| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 174 |
| 175 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | 175 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( |
| 176 CallInterfaceDescriptorData* data) { | 176 CallInterfaceDescriptorData* data) { |
| 177 Register registers[] = {x1, x3}; | 177 Register registers[] = {x1, x3}; |
| 178 data->InitializePlatformSpecific(arraysize(registers), registers); | 178 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 179 } | 179 } |
| 180 | 180 |
| 181 | 181 |
| 182 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( | 182 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( |
| 183 CallInterfaceDescriptorData* data) { | 183 CallInterfaceDescriptorData* data) { |
| 184 Register registers[] = {x1, x3, x2}; | 184 Register registers[] = {x1, x0, x3, x2}; |
| 185 data->InitializePlatformSpecific(arraysize(registers), registers); | 185 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 186 } | 186 } |
| 187 | 187 |
| 188 | 188 |
| 189 void CallConstructDescriptor::InitializePlatformSpecific( | 189 void CallConstructDescriptor::InitializePlatformSpecific( |
| 190 CallInterfaceDescriptorData* data) { | 190 CallInterfaceDescriptorData* data) { |
| 191 // x0 : number of arguments | 191 // x0 : number of arguments |
| 192 // x1 : the function to call | 192 // x1 : the function to call |
| 193 // x2 : feedback vector | 193 // x2 : feedback vector |
| 194 // x3 : slot in feedback vector (Smi, for RecordCallTarget) | 194 // x3 : slot in feedback vector (Smi, for RecordCallTarget) |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 x1, // the JSGeneratorObject to resume | 476 x1, // the JSGeneratorObject to resume |
| 477 x2 // the resume mode (tagged) | 477 x2 // the resume mode (tagged) |
| 478 }; | 478 }; |
| 479 data->InitializePlatformSpecific(arraysize(registers), registers); | 479 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 480 } | 480 } |
| 481 | 481 |
| 482 } // namespace internal | 482 } // namespace internal |
| 483 } // namespace v8 | 483 } // namespace v8 |
| 484 | 484 |
| 485 #endif // V8_TARGET_ARCH_ARM64 | 485 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |