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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 | 339 |
340 void CompareDescriptor::InitializePlatformSpecific( | 340 void CompareDescriptor::InitializePlatformSpecific( |
341 CallInterfaceDescriptorData* data) { | 341 CallInterfaceDescriptorData* data) { |
342 // x1: left operand | 342 // x1: left operand |
343 // x0: right operand | 343 // x0: right operand |
344 Register registers[] = {x1, x0}; | 344 Register registers[] = {x1, x0}; |
345 data->InitializePlatformSpecific(arraysize(registers), registers); | 345 data->InitializePlatformSpecific(arraysize(registers), registers); |
346 } | 346 } |
347 | 347 |
348 | 348 |
349 void CompareNilDescriptor::InitializePlatformSpecific( | |
350 CallInterfaceDescriptorData* data) { | |
351 // x0: value to compare | |
352 Register registers[] = {x0}; | |
353 data->InitializePlatformSpecific(arraysize(registers), registers); | |
354 } | |
355 | |
356 | |
357 void ToBooleanDescriptor::InitializePlatformSpecific( | 349 void ToBooleanDescriptor::InitializePlatformSpecific( |
358 CallInterfaceDescriptorData* data) { | 350 CallInterfaceDescriptorData* data) { |
359 // x0: value | 351 // x0: value |
360 Register registers[] = {x0}; | 352 Register registers[] = {x0}; |
361 data->InitializePlatformSpecific(arraysize(registers), registers); | 353 data->InitializePlatformSpecific(arraysize(registers), registers); |
362 } | 354 } |
363 | 355 |
364 | 356 |
365 void BinaryOpDescriptor::InitializePlatformSpecific( | 357 void BinaryOpDescriptor::InitializePlatformSpecific( |
366 CallInterfaceDescriptorData* data) { | 358 CallInterfaceDescriptorData* data) { |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 x1 // the runtime function to call | 507 x1 // the runtime function to call |
516 }; | 508 }; |
517 data->InitializePlatformSpecific(arraysize(registers), registers); | 509 data->InitializePlatformSpecific(arraysize(registers), registers); |
518 } | 510 } |
519 | 511 |
520 | 512 |
521 } // namespace internal | 513 } // namespace internal |
522 } // namespace v8 | 514 } // namespace v8 |
523 | 515 |
524 #endif // V8_TARGET_ARCH_ARM64 | 516 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |