OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #if V8_TARGET_ARCH_S390 | 5 #if V8_TARGET_ARCH_S390 |
6 | 6 |
7 #include "src/interface-descriptors.h" | 7 #include "src/interface-descriptors.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 177 |
178 void ConstructTrampolineDescriptor::InitializePlatformSpecific( | 178 void ConstructTrampolineDescriptor::InitializePlatformSpecific( |
179 CallInterfaceDescriptorData* data) { | 179 CallInterfaceDescriptorData* data) { |
180 // r2 : number of arguments | 180 // r2 : number of arguments |
181 // r3 : the target to call | 181 // r3 : the target to call |
182 // r5 : the new target | 182 // r5 : the new target |
183 Register registers[] = {r3, r5, r2}; | 183 Register registers[] = {r3, r5, r2}; |
184 data->InitializePlatformSpecific(arraysize(registers), registers); | 184 data->InitializePlatformSpecific(arraysize(registers), registers); |
185 } | 185 } |
186 | 186 |
187 void RegExpConstructResultDescriptor::InitializePlatformSpecific( | |
188 CallInterfaceDescriptorData* data) { | |
189 Register registers[] = {r4, r3, r2}; | |
190 data->InitializePlatformSpecific(arraysize(registers), registers); | |
191 } | |
192 | |
193 void TransitionElementsKindDescriptor::InitializePlatformSpecific( | 187 void TransitionElementsKindDescriptor::InitializePlatformSpecific( |
194 CallInterfaceDescriptorData* data) { | 188 CallInterfaceDescriptorData* data) { |
195 Register registers[] = {r2, r3}; | 189 Register registers[] = {r2, r3}; |
196 data->InitializePlatformSpecific(arraysize(registers), registers); | 190 data->InitializePlatformSpecific(arraysize(registers), registers); |
197 } | 191 } |
198 | 192 |
199 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 193 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
200 CallInterfaceDescriptorData* data) { | 194 CallInterfaceDescriptorData* data) { |
201 data->InitializePlatformSpecific(0, nullptr, nullptr); | 195 data->InitializePlatformSpecific(0, nullptr, nullptr); |
202 } | 196 } |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 r3, // the JSGeneratorObject to resume | 382 r3, // the JSGeneratorObject to resume |
389 r4 // the resume mode (tagged) | 383 r4 // the resume mode (tagged) |
390 }; | 384 }; |
391 data->InitializePlatformSpecific(arraysize(registers), registers); | 385 data->InitializePlatformSpecific(arraysize(registers), registers); |
392 } | 386 } |
393 | 387 |
394 } // namespace internal | 388 } // namespace internal |
395 } // namespace v8 | 389 } // namespace v8 |
396 | 390 |
397 #endif // V8_TARGET_ARCH_S390 | 391 #endif // V8_TARGET_ARCH_S390 |
OLD | NEW |