| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 data->InitializePlatformSpecific(arraysize(registers), registers); | 75 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 76 } | 76 } |
| 77 | 77 |
| 78 | 78 |
| 79 void FastNewContextDescriptor::InitializePlatformSpecific( | 79 void FastNewContextDescriptor::InitializePlatformSpecific( |
| 80 CallInterfaceDescriptorData* data) { | 80 CallInterfaceDescriptorData* data) { |
| 81 Register registers[] = {r4}; | 81 Register registers[] = {r4}; |
| 82 data->InitializePlatformSpecific(arraysize(registers), registers); | 82 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 83 } | 83 } |
| 84 | 84 |
| 85 void FastNewObjectDescriptor::InitializePlatformSpecific( |
| 86 CallInterfaceDescriptorData* data) { |
| 87 Register registers[] = {r4, r6}; |
| 88 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 89 } |
| 90 |
| 85 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 91 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
| 86 CallInterfaceDescriptorData* data) { | 92 CallInterfaceDescriptorData* data) { |
| 87 Register registers[] = {r4}; | 93 Register registers[] = {r4}; |
| 88 data->InitializePlatformSpecific(arraysize(registers), registers); | 94 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 89 } | 95 } |
| 90 | 96 |
| 91 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( | 97 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( |
| 92 CallInterfaceDescriptorData* data) { | 98 CallInterfaceDescriptorData* data) { |
| 93 Register registers[] = {r4}; | 99 Register registers[] = {r4}; |
| 94 data->InitializePlatformSpecific(arraysize(registers), registers); | 100 data->InitializePlatformSpecific(arraysize(registers), registers); |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 r3, // argument count (argc) | 448 r3, // argument count (argc) |
| 443 r5, // address of first argument (argv) | 449 r5, // address of first argument (argv) |
| 444 r4 // the runtime function to call | 450 r4 // the runtime function to call |
| 445 }; | 451 }; |
| 446 data->InitializePlatformSpecific(arraysize(registers), registers); | 452 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 447 } | 453 } |
| 448 } // namespace internal | 454 } // namespace internal |
| 449 } // namespace v8 | 455 } // namespace v8 |
| 450 | 456 |
| 451 #endif // V8_TARGET_ARCH_PPC | 457 #endif // V8_TARGET_ARCH_PPC |
| OLD | NEW |