| 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 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 void ResumeGeneratorDescriptor::InitializePlatformSpecific( | 470 void ResumeGeneratorDescriptor::InitializePlatformSpecific( |
| 471 CallInterfaceDescriptorData* data) { | 471 CallInterfaceDescriptorData* data) { |
| 472 Register registers[] = { | 472 Register registers[] = { |
| 473 x0, // the value to pass to the generator | 473 x0, // the value to pass to the generator |
| 474 x1, // the JSGeneratorObject to resume | 474 x1, // the JSGeneratorObject to resume |
| 475 x2 // the resume mode (tagged) | 475 x2 // the resume mode (tagged) |
| 476 }; | 476 }; |
| 477 data->InitializePlatformSpecific(arraysize(registers), registers); | 477 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 478 } | 478 } |
| 479 | 479 |
| 480 void AtomicsLoadDescriptor::InitializePlatformSpecific( | |
| 481 CallInterfaceDescriptorData* data) { | |
| 482 Register registers[] = { | |
| 483 x1, // the typedarray object | |
| 484 x0 // the index to load (untagged) | |
| 485 }; | |
| 486 data->InitializePlatformSpecific(arraysize(registers), registers); | |
| 487 } | |
| 488 | |
| 489 } // namespace internal | 480 } // namespace internal |
| 490 } // namespace v8 | 481 } // namespace v8 |
| 491 | 482 |
| 492 #endif // V8_TARGET_ARCH_ARM64 | 483 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |