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 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 void ResumeGeneratorDescriptor::InitializePlatformSpecific( | 461 void ResumeGeneratorDescriptor::InitializePlatformSpecific( |
462 CallInterfaceDescriptorData* data) { | 462 CallInterfaceDescriptorData* data) { |
463 Register registers[] = { | 463 Register registers[] = { |
464 x0, // the value to pass to the generator | 464 x0, // the value to pass to the generator |
465 x1, // the JSGeneratorObject to resume | 465 x1, // the JSGeneratorObject to resume |
466 x2 // the resume mode (tagged) | 466 x2 // the resume mode (tagged) |
467 }; | 467 }; |
468 data->InitializePlatformSpecific(arraysize(registers), registers); | 468 data->InitializePlatformSpecific(arraysize(registers), registers); |
469 } | 469 } |
470 | 470 |
| 471 void FrameDropperTrampolineDescriptor::InitializePlatformSpecific( |
| 472 CallInterfaceDescriptorData* data) { |
| 473 Register registers[] = { |
| 474 x1, // loaded new FP |
| 475 }; |
| 476 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 477 } |
| 478 |
471 } // namespace internal | 479 } // namespace internal |
472 } // namespace v8 | 480 } // namespace v8 |
473 | 481 |
474 #endif // V8_TARGET_ARCH_ARM64 | 482 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |