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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 } | 136 } |
137 | 137 |
138 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | 138 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( |
139 CallInterfaceDescriptorData* data) { | 139 CallInterfaceDescriptorData* data) { |
140 Register registers[] = {r3, r5}; | 140 Register registers[] = {r3, r5}; |
141 data->InitializePlatformSpecific(arraysize(registers), registers); | 141 data->InitializePlatformSpecific(arraysize(registers), registers); |
142 } | 142 } |
143 | 143 |
144 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( | 144 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( |
145 CallInterfaceDescriptorData* data) { | 145 CallInterfaceDescriptorData* data) { |
146 Register registers[] = {r3, r5, r4}; | 146 Register registers[] = {r3, r2, r5, r4}; |
147 data->InitializePlatformSpecific(arraysize(registers), registers); | 147 data->InitializePlatformSpecific(arraysize(registers), registers); |
148 } | 148 } |
149 | 149 |
150 void CallConstructDescriptor::InitializePlatformSpecific( | 150 void CallConstructDescriptor::InitializePlatformSpecific( |
151 CallInterfaceDescriptorData* data) { | 151 CallInterfaceDescriptorData* data) { |
152 // r2 : number of arguments | 152 // r2 : number of arguments |
153 // r3 : the function to call | 153 // r3 : the function to call |
154 // r4 : feedback vector | 154 // r4 : feedback vector |
155 // r5 : slot in feedback vector (Smi, for RecordCallTarget) | 155 // r5 : slot in feedback vector (Smi, for RecordCallTarget) |
156 // r6 : new target (for IsSuperConstructorCall) | 156 // r6 : new target (for IsSuperConstructorCall) |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 r3, // the JSGeneratorObject to resume | 391 r3, // the JSGeneratorObject to resume |
392 r4 // the resume mode (tagged) | 392 r4 // the resume mode (tagged) |
393 }; | 393 }; |
394 data->InitializePlatformSpecific(arraysize(registers), registers); | 394 data->InitializePlatformSpecific(arraysize(registers), registers); |
395 } | 395 } |
396 | 396 |
397 } // namespace internal | 397 } // namespace internal |
398 } // namespace v8 | 398 } // namespace v8 |
399 | 399 |
400 #endif // V8_TARGET_ARCH_S390 | 400 #endif // V8_TARGET_ARCH_S390 |
OLD | NEW |