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