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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 } | 118 } |
119 | 119 |
120 | 120 |
121 void TypeofDescriptor::InitializePlatformSpecific( | 121 void TypeofDescriptor::InitializePlatformSpecific( |
122 CallInterfaceDescriptorData* data) { | 122 CallInterfaceDescriptorData* data) { |
123 Register registers[] = {r6}; | 123 Register registers[] = {r6}; |
124 data->InitializePlatformSpecific(arraysize(registers), registers); | 124 data->InitializePlatformSpecific(arraysize(registers), registers); |
125 } | 125 } |
126 | 126 |
127 | 127 |
| 128 void FastCloneRegExpDescriptor::InitializePlatformSpecific( |
| 129 CallInterfaceDescriptorData* data) { |
| 130 Register registers[] = {r6, r5, r4, r3}; |
| 131 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 132 } |
| 133 |
| 134 |
128 void FastCloneShallowArrayDescriptor::InitializePlatformSpecific( | 135 void FastCloneShallowArrayDescriptor::InitializePlatformSpecific( |
129 CallInterfaceDescriptorData* data) { | 136 CallInterfaceDescriptorData* data) { |
130 Register registers[] = {r6, r5, r4}; | 137 Register registers[] = {r6, r5, r4}; |
131 data->InitializePlatformSpecific(arraysize(registers), registers); | 138 data->InitializePlatformSpecific(arraysize(registers), registers); |
132 } | 139 } |
133 | 140 |
134 | 141 |
135 void FastCloneShallowObjectDescriptor::InitializePlatformSpecific( | 142 void FastCloneShallowObjectDescriptor::InitializePlatformSpecific( |
136 CallInterfaceDescriptorData* data) { | 143 CallInterfaceDescriptorData* data) { |
137 Register registers[] = {r6, r5, r4, r3}; | 144 Register registers[] = {r6, r5, r4, r3}; |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 r3, // argument count (argc) | 441 r3, // argument count (argc) |
435 r5, // address of first argument (argv) | 442 r5, // address of first argument (argv) |
436 r4 // the runtime function to call | 443 r4 // the runtime function to call |
437 }; | 444 }; |
438 data->InitializePlatformSpecific(arraysize(registers), registers); | 445 data->InitializePlatformSpecific(arraysize(registers), registers); |
439 } | 446 } |
440 } // namespace internal | 447 } // namespace internal |
441 } // namespace v8 | 448 } // namespace v8 |
442 | 449 |
443 #endif // V8_TARGET_ARCH_PPC | 450 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |