| 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 void ConstructTrampolineDescriptor::InitializePlatformSpecific( | 195 void ConstructTrampolineDescriptor::InitializePlatformSpecific( |
| 196 CallInterfaceDescriptorData* data) { | 196 CallInterfaceDescriptorData* data) { |
| 197 // r3 : number of arguments | 197 // r3 : number of arguments |
| 198 // r4 : the target to call | 198 // r4 : the target to call |
| 199 // r6 : the new target | 199 // r6 : the new target |
| 200 Register registers[] = {r4, r6, r3}; | 200 Register registers[] = {r4, r6, r3}; |
| 201 data->InitializePlatformSpecific(arraysize(registers), registers); | 201 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 202 } | 202 } |
| 203 | 203 |
| 204 | 204 |
| 205 void RegExpConstructResultDescriptor::InitializePlatformSpecific( | |
| 206 CallInterfaceDescriptorData* data) { | |
| 207 Register registers[] = {r5, r4, r3}; | |
| 208 data->InitializePlatformSpecific(arraysize(registers), registers); | |
| 209 } | |
| 210 | |
| 211 | |
| 212 void TransitionElementsKindDescriptor::InitializePlatformSpecific( | 205 void TransitionElementsKindDescriptor::InitializePlatformSpecific( |
| 213 CallInterfaceDescriptorData* data) { | 206 CallInterfaceDescriptorData* data) { |
| 214 Register registers[] = {r3, r4}; | 207 Register registers[] = {r3, r4}; |
| 215 data->InitializePlatformSpecific(arraysize(registers), registers); | 208 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 216 } | 209 } |
| 217 | 210 |
| 218 | 211 |
| 219 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 212 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
| 220 CallInterfaceDescriptorData* data) { | 213 CallInterfaceDescriptorData* data) { |
| 221 data->InitializePlatformSpecific(0, nullptr, nullptr); | 214 data->InitializePlatformSpecific(0, nullptr, nullptr); |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 r3, // the value to pass to the generator | 408 r3, // the value to pass to the generator |
| 416 r4, // the JSGeneratorObject to resume | 409 r4, // the JSGeneratorObject to resume |
| 417 r5 // the resume mode (tagged) | 410 r5 // the resume mode (tagged) |
| 418 }; | 411 }; |
| 419 data->InitializePlatformSpecific(arraysize(registers), registers); | 412 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 420 } | 413 } |
| 421 } // namespace internal | 414 } // namespace internal |
| 422 } // namespace v8 | 415 } // namespace v8 |
| 423 | 416 |
| 424 #endif // V8_TARGET_ARCH_PPC | 417 #endif // V8_TARGET_ARCH_PPC |
| OLD | NEW |