| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 const Register MathPowIntegerDescriptor::exponent() { | 72 const Register MathPowIntegerDescriptor::exponent() { |
| 73 return MathPowTaggedDescriptor::exponent(); | 73 return MathPowTaggedDescriptor::exponent(); |
| 74 } | 74 } |
| 75 | 75 |
| 76 | 76 |
| 77 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r3; } | 77 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r3; } |
| 78 const Register GrowArrayElementsDescriptor::KeyRegister() { return r6; } | 78 const Register GrowArrayElementsDescriptor::KeyRegister() { return r6; } |
| 79 | 79 |
| 80 | 80 |
| 81 void VectorStoreTransitionDescriptor::InitializePlatformSpecific( | |
| 82 CallInterfaceDescriptorData* data) { | |
| 83 Register registers[] = {ReceiverRegister(), NameRegister(), ValueRegister(), | |
| 84 SlotRegister(), VectorRegister(), MapRegister()}; | |
| 85 data->InitializePlatformSpecific(arraysize(registers), registers); | |
| 86 } | |
| 87 | |
| 88 | |
| 89 void FastNewClosureDescriptor::InitializePlatformSpecific( | 81 void FastNewClosureDescriptor::InitializePlatformSpecific( |
| 90 CallInterfaceDescriptorData* data) { | 82 CallInterfaceDescriptorData* data) { |
| 91 Register registers[] = {r5}; | 83 Register registers[] = {r5}; |
| 92 data->InitializePlatformSpecific(arraysize(registers), registers); | 84 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 93 } | 85 } |
| 94 | 86 |
| 95 | 87 |
| 96 void FastNewContextDescriptor::InitializePlatformSpecific( | 88 void FastNewContextDescriptor::InitializePlatformSpecific( |
| 97 CallInterfaceDescriptorData* data) { | 89 CallInterfaceDescriptorData* data) { |
| 98 Register registers[] = {r4}; | 90 Register registers[] = {r4}; |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 r3, // argument count (argc) | 400 r3, // argument count (argc) |
| 409 r5, // address of first argument (argv) | 401 r5, // address of first argument (argv) |
| 410 r4 // the runtime function to call | 402 r4 // the runtime function to call |
| 411 }; | 403 }; |
| 412 data->InitializePlatformSpecific(arraysize(registers), registers); | 404 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 413 } | 405 } |
| 414 } // namespace internal | 406 } // namespace internal |
| 415 } // namespace v8 | 407 } // namespace v8 |
| 416 | 408 |
| 417 #endif // V8_TARGET_ARCH_PPC | 409 #endif // V8_TARGET_ARCH_PPC |
| OLD | NEW |