| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 Register registers[] = {r4}; | 90 Register registers[] = {r4}; |
| 91 data->InitializePlatformSpecific(arraysize(registers), registers); | 91 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 92 } | 92 } |
| 93 | 93 |
| 94 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 94 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
| 95 CallInterfaceDescriptorData* data) { | 95 CallInterfaceDescriptorData* data) { |
| 96 Register registers[] = {r4}; | 96 Register registers[] = {r4}; |
| 97 data->InitializePlatformSpecific(arraysize(registers), registers); | 97 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 98 } | 98 } |
| 99 | 99 |
| 100 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( |
| 101 CallInterfaceDescriptorData* data) { |
| 102 Register registers[] = {r4}; |
| 103 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 104 } |
| 100 | 105 |
| 101 void ToNumberDescriptor::InitializePlatformSpecific( | 106 void ToNumberDescriptor::InitializePlatformSpecific( |
| 102 CallInterfaceDescriptorData* data) { | 107 CallInterfaceDescriptorData* data) { |
| 103 Register registers[] = {r3}; | 108 Register registers[] = {r3}; |
| 104 data->InitializePlatformSpecific(arraysize(registers), registers); | 109 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 105 } | 110 } |
| 106 | 111 |
| 107 | 112 |
| 108 // static | 113 // static |
| 109 const Register ToLengthDescriptor::ReceiverRegister() { return r3; } | 114 const Register ToLengthDescriptor::ReceiverRegister() { return r3; } |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 r3, // argument count (argc) | 445 r3, // argument count (argc) |
| 441 r5, // address of first argument (argv) | 446 r5, // address of first argument (argv) |
| 442 r4 // the runtime function to call | 447 r4 // the runtime function to call |
| 443 }; | 448 }; |
| 444 data->InitializePlatformSpecific(arraysize(registers), registers); | 449 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 445 } | 450 } |
| 446 } // namespace internal | 451 } // namespace internal |
| 447 } // namespace v8 | 452 } // namespace v8 |
| 448 | 453 |
| 449 #endif // V8_TARGET_ARCH_PPC | 454 #endif // V8_TARGET_ARCH_PPC |
| OLD | NEW |