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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 Register registers[] = {r4, r5, r3}; | 121 Register registers[] = {r4, r5, r3}; |
122 data->InitializePlatformSpecific(arraysize(registers), registers); | 122 data->InitializePlatformSpecific(arraysize(registers), registers); |
123 } | 123 } |
124 | 124 |
125 void CallFunctionDescriptor::InitializePlatformSpecific( | 125 void CallFunctionDescriptor::InitializePlatformSpecific( |
126 CallInterfaceDescriptorData* data) { | 126 CallInterfaceDescriptorData* data) { |
127 Register registers[] = {r3}; | 127 Register registers[] = {r3}; |
128 data->InitializePlatformSpecific(arraysize(registers), registers); | 128 data->InitializePlatformSpecific(arraysize(registers), registers); |
129 } | 129 } |
130 | 130 |
131 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | 131 void CallICTrampolineDescriptor::InitializePlatformSpecific( |
132 CallInterfaceDescriptorData* data) { | 132 CallInterfaceDescriptorData* data) { |
133 Register registers[] = {r3, r2, r5}; | 133 Register registers[] = {r3, r2, r5}; |
134 data->InitializePlatformSpecific(arraysize(registers), registers); | 134 data->InitializePlatformSpecific(arraysize(registers), registers); |
135 } | 135 } |
136 | 136 |
137 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( | 137 void CallICDescriptor::InitializePlatformSpecific( |
138 CallInterfaceDescriptorData* data) { | 138 CallInterfaceDescriptorData* data) { |
139 Register registers[] = {r3, r2, r5, r4}; | 139 Register registers[] = {r3, r2, r5, r4}; |
140 data->InitializePlatformSpecific(arraysize(registers), registers); | 140 data->InitializePlatformSpecific(arraysize(registers), registers); |
141 } | 141 } |
142 | 142 |
143 void CallConstructDescriptor::InitializePlatformSpecific( | 143 void CallConstructDescriptor::InitializePlatformSpecific( |
144 CallInterfaceDescriptorData* data) { | 144 CallInterfaceDescriptorData* data) { |
145 // r2 : number of arguments | 145 // r2 : number of arguments |
146 // r3 : the function to call | 146 // r3 : the function to call |
147 // r4 : feedback vector | 147 // r4 : feedback vector |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 Register registers[] = { | 394 Register registers[] = { |
395 r3, // loaded new FP | 395 r3, // loaded new FP |
396 }; | 396 }; |
397 data->InitializePlatformSpecific(arraysize(registers), registers); | 397 data->InitializePlatformSpecific(arraysize(registers), registers); |
398 } | 398 } |
399 | 399 |
400 } // namespace internal | 400 } // namespace internal |
401 } // namespace v8 | 401 } // namespace v8 |
402 | 402 |
403 #endif // V8_TARGET_ARCH_S390 | 403 #endif // V8_TARGET_ARCH_S390 |
OLD | NEW |