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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 | 340 |
341 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( | 341 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( |
342 CallInterfaceDescriptorData* data) { | 342 CallInterfaceDescriptorData* data) { |
343 // x2: allocation site | 343 // x2: allocation site |
344 // x1: left operand | 344 // x1: left operand |
345 // x0: right operand | 345 // x0: right operand |
346 Register registers[] = {x2, x1, x0}; | 346 Register registers[] = {x2, x1, x0}; |
347 data->InitializePlatformSpecific(arraysize(registers), registers); | 347 data->InitializePlatformSpecific(arraysize(registers), registers); |
348 } | 348 } |
349 | 349 |
| 350 void CountOpDescriptor::InitializePlatformSpecific( |
| 351 CallInterfaceDescriptorData* data) { |
| 352 Register registers[] = {x1}; |
| 353 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 354 } |
350 | 355 |
351 void StringAddDescriptor::InitializePlatformSpecific( | 356 void StringAddDescriptor::InitializePlatformSpecific( |
352 CallInterfaceDescriptorData* data) { | 357 CallInterfaceDescriptorData* data) { |
353 // x1: left operand | 358 // x1: left operand |
354 // x0: right operand | 359 // x0: right operand |
355 Register registers[] = {x1, x0}; | 360 Register registers[] = {x1, x0}; |
356 data->InitializePlatformSpecific(arraysize(registers), registers); | 361 data->InitializePlatformSpecific(arraysize(registers), registers); |
357 } | 362 } |
358 | 363 |
359 | 364 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 x1, // the JSGeneratorObject to resume | 477 x1, // the JSGeneratorObject to resume |
473 x2 // the resume mode (tagged) | 478 x2 // the resume mode (tagged) |
474 }; | 479 }; |
475 data->InitializePlatformSpecific(arraysize(registers), registers); | 480 data->InitializePlatformSpecific(arraysize(registers), registers); |
476 } | 481 } |
477 | 482 |
478 } // namespace internal | 483 } // namespace internal |
479 } // namespace v8 | 484 } // namespace v8 |
480 | 485 |
481 #endif // V8_TARGET_ARCH_ARM64 | 486 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |