| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| 141 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | 141 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( |
| 142 CallInterfaceDescriptorData* data) { | 142 CallInterfaceDescriptorData* data) { |
| 143 Register registers[] = {r4, r6}; | 143 Register registers[] = {r4, r3, r6}; |
| 144 data->InitializePlatformSpecific(arraysize(registers), registers); | 144 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 145 } | 145 } |
| 146 | 146 |
| 147 | 147 |
| 148 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( | 148 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( |
| 149 CallInterfaceDescriptorData* data) { | 149 CallInterfaceDescriptorData* data) { |
| 150 Register registers[] = {r4, r3, r6, r5}; | 150 Register registers[] = {r4, r3, r6, r5}; |
| 151 data->InitializePlatformSpecific(arraysize(registers), registers); | 151 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 152 } | 152 } |
| 153 | 153 |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 Register registers[] = { | 418 Register registers[] = { |
| 419 r4, // loaded new FP | 419 r4, // loaded new FP |
| 420 }; | 420 }; |
| 421 data->InitializePlatformSpecific(arraysize(registers), registers); | 421 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 422 } | 422 } |
| 423 | 423 |
| 424 } // namespace internal | 424 } // namespace internal |
| 425 } // namespace v8 | 425 } // namespace v8 |
| 426 | 426 |
| 427 #endif // V8_TARGET_ARCH_PPC | 427 #endif // V8_TARGET_ARCH_PPC |
| OLD | NEW |