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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 } | 122 } |
123 | 123 |
124 | 124 |
125 void TypeofDescriptor::InitializePlatformSpecific( | 125 void TypeofDescriptor::InitializePlatformSpecific( |
126 CallInterfaceDescriptorData* data) { | 126 CallInterfaceDescriptorData* data) { |
127 Register registers[] = {x3}; | 127 Register registers[] = {x3}; |
128 data->InitializePlatformSpecific(arraysize(registers), registers); | 128 data->InitializePlatformSpecific(arraysize(registers), registers); |
129 } | 129 } |
130 | 130 |
131 | 131 |
| 132 void FastCloneRegExpDescriptor::InitializePlatformSpecific( |
| 133 CallInterfaceDescriptorData* data) { |
| 134 // x3: closure |
| 135 // x2: object literal index |
| 136 // x1: constant properties |
| 137 // x0: object literal flags |
| 138 Register registers[] = {x3, x2, x1, x0}; |
| 139 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 140 } |
| 141 |
| 142 |
132 void FastCloneShallowArrayDescriptor::InitializePlatformSpecific( | 143 void FastCloneShallowArrayDescriptor::InitializePlatformSpecific( |
133 CallInterfaceDescriptorData* data) { | 144 CallInterfaceDescriptorData* data) { |
134 // x3: array literals array | 145 // x3: closure |
135 // x2: array literal index | 146 // x2: array literal index |
136 // x1: constant elements | 147 // x1: constant elements |
137 Register registers[] = {x3, x2, x1}; | 148 Register registers[] = {x3, x2, x1}; |
138 data->InitializePlatformSpecific(arraysize(registers), registers); | 149 data->InitializePlatformSpecific(arraysize(registers), registers); |
139 } | 150 } |
140 | 151 |
141 | 152 |
142 void FastCloneShallowObjectDescriptor::InitializePlatformSpecific( | 153 void FastCloneShallowObjectDescriptor::InitializePlatformSpecific( |
143 CallInterfaceDescriptorData* data) { | 154 CallInterfaceDescriptorData* data) { |
144 // x3: object literals array | 155 // x3: closure |
145 // x2: object literal index | 156 // x2: object literal index |
146 // x1: constant properties | 157 // x1: constant properties |
147 // x0: object literal flags | 158 // x0: object literal flags |
148 Register registers[] = {x3, x2, x1, x0}; | 159 Register registers[] = {x3, x2, x1, x0}; |
149 data->InitializePlatformSpecific(arraysize(registers), registers); | 160 data->InitializePlatformSpecific(arraysize(registers), registers); |
150 } | 161 } |
151 | 162 |
152 | 163 |
153 void CreateAllocationSiteDescriptor::InitializePlatformSpecific( | 164 void CreateAllocationSiteDescriptor::InitializePlatformSpecific( |
154 CallInterfaceDescriptorData* data) { | 165 CallInterfaceDescriptorData* data) { |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 x1 // the runtime function to call | 502 x1 // the runtime function to call |
492 }; | 503 }; |
493 data->InitializePlatformSpecific(arraysize(registers), registers); | 504 data->InitializePlatformSpecific(arraysize(registers), registers); |
494 } | 505 } |
495 | 506 |
496 | 507 |
497 } // namespace internal | 508 } // namespace internal |
498 } // namespace v8 | 509 } // namespace v8 |
499 | 510 |
500 #endif // V8_TARGET_ARCH_ARM64 | 511 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |