| 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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 } | 304 } |
| 305 | 305 |
| 306 | 306 |
| 307 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( | 307 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( |
| 308 CallInterfaceDescriptorData* data) { | 308 CallInterfaceDescriptorData* data) { |
| 309 // stack param count needs (constructor pointer, and single argument) | 309 // stack param count needs (constructor pointer, and single argument) |
| 310 Register registers[] = {x1, x0}; | 310 Register registers[] = {x1, x0}; |
| 311 data->InitializePlatformSpecific(arraysize(registers), registers); | 311 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 312 } | 312 } |
| 313 | 313 |
| 314 void FastArrayPushDescriptor::InitializePlatformSpecific( | 314 void VarArgFunctionDescriptor::InitializePlatformSpecific( |
| 315 CallInterfaceDescriptorData* data) { | 315 CallInterfaceDescriptorData* data) { |
| 316 // stack param count needs (arg count) | 316 // stack param count needs (arg count) |
| 317 Register registers[] = {x0}; | 317 Register registers[] = {x0}; |
| 318 data->InitializePlatformSpecific(arraysize(registers), registers); | 318 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 319 } | 319 } |
| 320 | 320 |
| 321 void CompareDescriptor::InitializePlatformSpecific( | 321 void CompareDescriptor::InitializePlatformSpecific( |
| 322 CallInterfaceDescriptorData* data) { | 322 CallInterfaceDescriptorData* data) { |
| 323 // x1: left operand | 323 // x1: left operand |
| 324 // x0: right operand | 324 // x0: right operand |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 x1, // the JSGeneratorObject to resume | 475 x1, // the JSGeneratorObject to resume |
| 476 x2 // the resume mode (tagged) | 476 x2 // the resume mode (tagged) |
| 477 }; | 477 }; |
| 478 data->InitializePlatformSpecific(arraysize(registers), registers); | 478 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 479 } | 479 } |
| 480 | 480 |
| 481 } // namespace internal | 481 } // namespace internal |
| 482 } // namespace v8 | 482 } // namespace v8 |
| 483 | 483 |
| 484 #endif // V8_TARGET_ARCH_ARM64 | 484 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |