OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 #include "src/arm/interface-descriptors-arm.h" | 5 #include "src/arm/interface-descriptors-arm.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_ARM | 7 #if V8_TARGET_ARCH_ARM |
8 | 8 |
9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
10 | 10 |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 } | 160 } |
161 | 161 |
162 | 162 |
163 void CreateWeakCellDescriptor::InitializePlatformSpecific( | 163 void CreateWeakCellDescriptor::InitializePlatformSpecific( |
164 CallInterfaceDescriptorData* data) { | 164 CallInterfaceDescriptorData* data) { |
165 Register registers[] = {r2, r3, r1}; | 165 Register registers[] = {r2, r3, r1}; |
166 data->InitializePlatformSpecific(arraysize(registers), registers); | 166 data->InitializePlatformSpecific(arraysize(registers), registers); |
167 } | 167 } |
168 | 168 |
169 | 169 |
170 void StoreArrayLiteralElementDescriptor::InitializePlatformSpecific( | |
171 CallInterfaceDescriptorData* data) { | |
172 Register registers[] = {r3, r0}; | |
173 data->InitializePlatformSpecific(arraysize(registers), registers); | |
174 } | |
175 | |
176 | |
177 void CallFunctionDescriptor::InitializePlatformSpecific( | 170 void CallFunctionDescriptor::InitializePlatformSpecific( |
178 CallInterfaceDescriptorData* data) { | 171 CallInterfaceDescriptorData* data) { |
179 Register registers[] = {r1}; | 172 Register registers[] = {r1}; |
180 data->InitializePlatformSpecific(arraysize(registers), registers); | 173 data->InitializePlatformSpecific(arraysize(registers), registers); |
181 } | 174 } |
182 | 175 |
183 | 176 |
184 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | 177 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( |
185 CallInterfaceDescriptorData* data) { | 178 CallInterfaceDescriptorData* data) { |
186 Register registers[] = {r1, r3}; | 179 Register registers[] = {r1, r3}; |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 r2, // address of first argument (argv) | 456 r2, // address of first argument (argv) |
464 r1 // the runtime function to call | 457 r1 // the runtime function to call |
465 }; | 458 }; |
466 data->InitializePlatformSpecific(arraysize(registers), registers); | 459 data->InitializePlatformSpecific(arraysize(registers), registers); |
467 } | 460 } |
468 | 461 |
469 } // namespace internal | 462 } // namespace internal |
470 } // namespace v8 | 463 } // namespace v8 |
471 | 464 |
472 #endif // V8_TARGET_ARCH_ARM | 465 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |