| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 void CreateWeakCellDescriptor::InitializePlatformSpecific( | 178 void CreateWeakCellDescriptor::InitializePlatformSpecific( |
| 179 CallInterfaceDescriptorData* data) { | 179 CallInterfaceDescriptorData* data) { |
| 180 // x2: feedback vector | 180 // x2: feedback vector |
| 181 // x3: call feedback slot | 181 // x3: call feedback slot |
| 182 // x1: tagged value to put in the weak cell | 182 // x1: tagged value to put in the weak cell |
| 183 Register registers[] = {x2, x3, x1}; | 183 Register registers[] = {x2, x3, x1}; |
| 184 data->InitializePlatformSpecific(arraysize(registers), registers); | 184 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 185 } | 185 } |
| 186 | 186 |
| 187 | 187 |
| 188 void StoreArrayLiteralElementDescriptor::InitializePlatformSpecific( | |
| 189 CallInterfaceDescriptorData* data) { | |
| 190 Register registers[] = {x3, x0}; | |
| 191 data->InitializePlatformSpecific(arraysize(registers), registers); | |
| 192 } | |
| 193 | |
| 194 | |
| 195 void CallFunctionDescriptor::InitializePlatformSpecific( | 188 void CallFunctionDescriptor::InitializePlatformSpecific( |
| 196 CallInterfaceDescriptorData* data) { | 189 CallInterfaceDescriptorData* data) { |
| 197 // x1 function the function to call | 190 // x1 function the function to call |
| 198 Register registers[] = {x1}; | 191 Register registers[] = {x1}; |
| 199 data->InitializePlatformSpecific(arraysize(registers), registers); | 192 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 200 } | 193 } |
| 201 | 194 |
| 202 | 195 |
| 203 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | 196 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( |
| 204 CallInterfaceDescriptorData* data) { | 197 CallInterfaceDescriptorData* data) { |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 x1 // the runtime function to call | 490 x1 // the runtime function to call |
| 498 }; | 491 }; |
| 499 data->InitializePlatformSpecific(arraysize(registers), registers); | 492 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 500 } | 493 } |
| 501 | 494 |
| 502 | 495 |
| 503 } // namespace internal | 496 } // namespace internal |
| 504 } // namespace v8 | 497 } // namespace v8 |
| 505 | 498 |
| 506 #endif // V8_TARGET_ARCH_ARM64 | 499 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |