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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 64 |
65 void FastNewClosureDescriptor::InitializePlatformSpecific( | 65 void FastNewClosureDescriptor::InitializePlatformSpecific( |
66 CallInterfaceDescriptorData* data) { | 66 CallInterfaceDescriptorData* data) { |
67 // x1: function info | 67 // x1: function info |
68 // x2: feedback vector | 68 // x2: feedback vector |
69 // x3: slot | 69 // x3: slot |
70 Register registers[] = {x1, x2, x3}; | 70 Register registers[] = {x1, x2, x3}; |
71 data->InitializePlatformSpecific(arraysize(registers), registers); | 71 data->InitializePlatformSpecific(arraysize(registers), registers); |
72 } | 72 } |
73 | 73 |
74 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | |
75 CallInterfaceDescriptorData* data) { | |
76 // x1: function | |
77 Register registers[] = {x1}; | |
78 data->InitializePlatformSpecific(arraysize(registers), registers); | |
79 } | |
80 | |
81 | |
82 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( | |
83 CallInterfaceDescriptorData* data) { | |
84 // x1: function | |
85 Register registers[] = {x1}; | |
86 data->InitializePlatformSpecific(arraysize(registers), registers); | |
87 } | |
88 | |
89 | |
90 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( | |
91 CallInterfaceDescriptorData* data) { | |
92 // x1: function | |
93 Register registers[] = {x1}; | |
94 data->InitializePlatformSpecific(arraysize(registers), registers); | |
95 } | |
96 | |
97 | |
98 // static | 74 // static |
99 const Register TypeConversionDescriptor::ArgumentRegister() { return x0; } | 75 const Register TypeConversionDescriptor::ArgumentRegister() { return x0; } |
100 | 76 |
101 void TypeofDescriptor::InitializePlatformSpecific( | 77 void TypeofDescriptor::InitializePlatformSpecific( |
102 CallInterfaceDescriptorData* data) { | 78 CallInterfaceDescriptorData* data) { |
103 Register registers[] = {x3}; | 79 Register registers[] = {x3}; |
104 data->InitializePlatformSpecific(arraysize(registers), registers); | 80 data->InitializePlatformSpecific(arraysize(registers), registers); |
105 } | 81 } |
106 | 82 |
107 | 83 |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 Register registers[] = { | 454 Register registers[] = { |
479 x1, // loaded new FP | 455 x1, // loaded new FP |
480 }; | 456 }; |
481 data->InitializePlatformSpecific(arraysize(registers), registers); | 457 data->InitializePlatformSpecific(arraysize(registers), registers); |
482 } | 458 } |
483 | 459 |
484 } // namespace internal | 460 } // namespace internal |
485 } // namespace v8 | 461 } // namespace v8 |
486 | 462 |
487 #endif // V8_TARGET_ARCH_ARM64 | 463 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |