| 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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 } | 300 } |
| 301 | 301 |
| 302 | 302 |
| 303 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( | 303 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( |
| 304 CallInterfaceDescriptorData* data) { | 304 CallInterfaceDescriptorData* data) { |
| 305 // stack param count needs (constructor pointer, and single argument) | 305 // stack param count needs (constructor pointer, and single argument) |
| 306 Register registers[] = {x1, x0}; | 306 Register registers[] = {x1, x0}; |
| 307 data->InitializePlatformSpecific(arraysize(registers), registers); | 307 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 308 } | 308 } |
| 309 | 309 |
| 310 void FastArrayPushDescriptor::InitializePlatformSpecific( |
| 311 CallInterfaceDescriptorData* data) { |
| 312 // stack param count needs (arg count) |
| 313 Register registers[] = {x0}; |
| 314 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 315 } |
| 310 | 316 |
| 311 void CompareDescriptor::InitializePlatformSpecific( | 317 void CompareDescriptor::InitializePlatformSpecific( |
| 312 CallInterfaceDescriptorData* data) { | 318 CallInterfaceDescriptorData* data) { |
| 313 // x1: left operand | 319 // x1: left operand |
| 314 // x0: right operand | 320 // x0: right operand |
| 315 Register registers[] = {x1, x0}; | 321 Register registers[] = {x1, x0}; |
| 316 data->InitializePlatformSpecific(arraysize(registers), registers); | 322 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 317 } | 323 } |
| 318 | 324 |
| 319 | 325 |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 x1 // the runtime function to call | 458 x1 // the runtime function to call |
| 453 }; | 459 }; |
| 454 data->InitializePlatformSpecific(arraysize(registers), registers); | 460 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 455 } | 461 } |
| 456 | 462 |
| 457 | 463 |
| 458 } // namespace internal | 464 } // namespace internal |
| 459 } // namespace v8 | 465 } // namespace v8 |
| 460 | 466 |
| 461 #endif // V8_TARGET_ARCH_ARM64 | 467 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |