OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PPC | 5 #if V8_TARGET_ARCH_PPC |
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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 data->InitializePlatformSpecific(arraysize(registers), registers); | 130 data->InitializePlatformSpecific(arraysize(registers), registers); |
131 } | 131 } |
132 | 132 |
133 | 133 |
134 void CallFunctionDescriptor::InitializePlatformSpecific( | 134 void CallFunctionDescriptor::InitializePlatformSpecific( |
135 CallInterfaceDescriptorData* data) { | 135 CallInterfaceDescriptorData* data) { |
136 Register registers[] = {r4}; | 136 Register registers[] = {r4}; |
137 data->InitializePlatformSpecific(arraysize(registers), registers); | 137 data->InitializePlatformSpecific(arraysize(registers), registers); |
138 } | 138 } |
139 | 139 |
140 | 140 void CallICTrampolineDescriptor::InitializePlatformSpecific( |
141 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | |
142 CallInterfaceDescriptorData* data) { | 141 CallInterfaceDescriptorData* data) { |
143 Register registers[] = {r4, r3, r6}; | 142 Register registers[] = {r4, r3, r6}; |
144 data->InitializePlatformSpecific(arraysize(registers), registers); | 143 data->InitializePlatformSpecific(arraysize(registers), registers); |
145 } | 144 } |
146 | 145 |
147 | 146 void CallICDescriptor::InitializePlatformSpecific( |
148 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( | |
149 CallInterfaceDescriptorData* data) { | 147 CallInterfaceDescriptorData* data) { |
150 Register registers[] = {r4, r3, r6, r5}; | 148 Register registers[] = {r4, r3, r6, r5}; |
151 data->InitializePlatformSpecific(arraysize(registers), registers); | 149 data->InitializePlatformSpecific(arraysize(registers), registers); |
152 } | 150 } |
153 | 151 |
154 | 152 |
155 void CallConstructDescriptor::InitializePlatformSpecific( | 153 void CallConstructDescriptor::InitializePlatformSpecific( |
156 CallInterfaceDescriptorData* data) { | 154 CallInterfaceDescriptorData* data) { |
157 // r3 : number of arguments | 155 // r3 : number of arguments |
158 // r4 : the function to call | 156 // r4 : the function to call |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 Register registers[] = { | 416 Register registers[] = { |
419 r4, // loaded new FP | 417 r4, // loaded new FP |
420 }; | 418 }; |
421 data->InitializePlatformSpecific(arraysize(registers), registers); | 419 data->InitializePlatformSpecific(arraysize(registers), registers); |
422 } | 420 } |
423 | 421 |
424 } // namespace internal | 422 } // namespace internal |
425 } // namespace v8 | 423 } // namespace v8 |
426 | 424 |
427 #endif // V8_TARGET_ARCH_PPC | 425 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |