| 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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 } | 275 } |
| 276 | 276 |
| 277 | 277 |
| 278 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( | 278 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( |
| 279 CallInterfaceDescriptorData* data) { | 279 CallInterfaceDescriptorData* data) { |
| 280 // stack param count needs (constructor pointer, and single argument) | 280 // stack param count needs (constructor pointer, and single argument) |
| 281 Register registers[] = {r4, r3}; | 281 Register registers[] = {r4, r3}; |
| 282 data->InitializePlatformSpecific(arraysize(registers), registers); | 282 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 283 } | 283 } |
| 284 | 284 |
| 285 void FastArrayPushDescriptor::InitializePlatformSpecific( | 285 void VarArgFunctionDescriptor::InitializePlatformSpecific( |
| 286 CallInterfaceDescriptorData* data) { | 286 CallInterfaceDescriptorData* data) { |
| 287 // stack param count needs (arg count) | 287 // stack param count needs (arg count) |
| 288 Register registers[] = {r3}; | 288 Register registers[] = {r3}; |
| 289 data->InitializePlatformSpecific(arraysize(registers), registers); | 289 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 290 } | 290 } |
| 291 | 291 |
| 292 void CompareDescriptor::InitializePlatformSpecific( | 292 void CompareDescriptor::InitializePlatformSpecific( |
| 293 CallInterfaceDescriptorData* data) { | 293 CallInterfaceDescriptorData* data) { |
| 294 Register registers[] = {r4, r3}; | 294 Register registers[] = {r4, r3}; |
| 295 data->InitializePlatformSpecific(arraysize(registers), registers); | 295 data->InitializePlatformSpecific(arraysize(registers), registers); |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 r3, // the value to pass to the generator | 416 r3, // the value to pass to the generator |
| 417 r4, // the JSGeneratorObject to resume | 417 r4, // the JSGeneratorObject to resume |
| 418 r5 // the resume mode (tagged) | 418 r5 // the resume mode (tagged) |
| 419 }; | 419 }; |
| 420 data->InitializePlatformSpecific(arraysize(registers), registers); | 420 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 421 } | 421 } |
| 422 } // namespace internal | 422 } // namespace internal |
| 423 } // namespace v8 | 423 } // namespace v8 |
| 424 | 424 |
| 425 #endif // V8_TARGET_ARCH_PPC | 425 #endif // V8_TARGET_ARCH_PPC |
| OLD | NEW |