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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 | 48 |
49 const Register InstanceOfDescriptor::LeftRegister() { return r4; } | 49 const Register InstanceOfDescriptor::LeftRegister() { return r4; } |
50 const Register InstanceOfDescriptor::RightRegister() { return r3; } | 50 const Register InstanceOfDescriptor::RightRegister() { return r3; } |
51 | 51 |
52 | 52 |
53 const Register StringCompareDescriptor::LeftRegister() { return r4; } | 53 const Register StringCompareDescriptor::LeftRegister() { return r4; } |
54 const Register StringCompareDescriptor::RightRegister() { return r3; } | 54 const Register StringCompareDescriptor::RightRegister() { return r3; } |
55 | 55 |
56 | 56 |
57 const Register ArgumentsAccessNewDescriptor::function() { return r4; } | |
58 const Register ArgumentsAccessNewDescriptor::parameter_count() { return r5; } | |
59 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return r6; } | |
60 | |
61 | |
62 const Register ApiGetterDescriptor::function_address() { return r5; } | 57 const Register ApiGetterDescriptor::function_address() { return r5; } |
63 | 58 |
64 | 59 |
65 const Register MathPowTaggedDescriptor::exponent() { return r5; } | 60 const Register MathPowTaggedDescriptor::exponent() { return r5; } |
66 | 61 |
67 | 62 |
68 const Register MathPowIntegerDescriptor::exponent() { | 63 const Register MathPowIntegerDescriptor::exponent() { |
69 return MathPowTaggedDescriptor::exponent(); | 64 return MathPowTaggedDescriptor::exponent(); |
70 } | 65 } |
71 | 66 |
(...skipping 14 matching lines...) Expand all Loading... |
86 Register registers[] = {r4}; | 81 Register registers[] = {r4}; |
87 data->InitializePlatformSpecific(arraysize(registers), registers); | 82 data->InitializePlatformSpecific(arraysize(registers), registers); |
88 } | 83 } |
89 | 84 |
90 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 85 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
91 CallInterfaceDescriptorData* data) { | 86 CallInterfaceDescriptorData* data) { |
92 Register registers[] = {r4}; | 87 Register registers[] = {r4}; |
93 data->InitializePlatformSpecific(arraysize(registers), registers); | 88 data->InitializePlatformSpecific(arraysize(registers), registers); |
94 } | 89 } |
95 | 90 |
| 91 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( |
| 92 CallInterfaceDescriptorData* data) { |
| 93 Register registers[] = {r4}; |
| 94 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 95 } |
| 96 |
96 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( | 97 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( |
97 CallInterfaceDescriptorData* data) { | 98 CallInterfaceDescriptorData* data) { |
98 Register registers[] = {r4}; | 99 Register registers[] = {r4}; |
99 data->InitializePlatformSpecific(arraysize(registers), registers); | 100 data->InitializePlatformSpecific(arraysize(registers), registers); |
100 } | 101 } |
101 | 102 |
102 void ToNumberDescriptor::InitializePlatformSpecific( | 103 void ToNumberDescriptor::InitializePlatformSpecific( |
103 CallInterfaceDescriptorData* data) { | 104 CallInterfaceDescriptorData* data) { |
104 Register registers[] = {r3}; | 105 Register registers[] = {r3}; |
105 data->InitializePlatformSpecific(arraysize(registers), registers); | 106 data->InitializePlatformSpecific(arraysize(registers), registers); |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 r3, // argument count (argc) | 442 r3, // argument count (argc) |
442 r5, // address of first argument (argv) | 443 r5, // address of first argument (argv) |
443 r4 // the runtime function to call | 444 r4 // the runtime function to call |
444 }; | 445 }; |
445 data->InitializePlatformSpecific(arraysize(registers), registers); | 446 data->InitializePlatformSpecific(arraysize(registers), registers); |
446 } | 447 } |
447 } // namespace internal | 448 } // namespace internal |
448 } // namespace v8 | 449 } // namespace v8 |
449 | 450 |
450 #endif // V8_TARGET_ARCH_PPC | 451 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |