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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 | 138 |
139 void CallFunctionDescriptor::InitializePlatformSpecific( | 139 void CallFunctionDescriptor::InitializePlatformSpecific( |
140 CallInterfaceDescriptorData* data) { | 140 CallInterfaceDescriptorData* data) { |
141 Register registers[] = {r1}; | 141 Register registers[] = {r1}; |
142 data->InitializePlatformSpecific(arraysize(registers), registers); | 142 data->InitializePlatformSpecific(arraysize(registers), registers); |
143 } | 143 } |
144 | 144 |
145 | 145 |
146 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | 146 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( |
147 CallInterfaceDescriptorData* data) { | 147 CallInterfaceDescriptorData* data) { |
148 Register registers[] = {r1, r3}; | 148 Register registers[] = {r1, r0, r3}; |
149 data->InitializePlatformSpecific(arraysize(registers), registers); | 149 data->InitializePlatformSpecific(arraysize(registers), registers); |
150 } | 150 } |
151 | 151 |
152 | 152 |
153 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( | 153 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( |
154 CallInterfaceDescriptorData* data) { | 154 CallInterfaceDescriptorData* data) { |
155 Register registers[] = {r1, r0, r3, r2}; | 155 Register registers[] = {r1, r0, r3, r2}; |
156 data->InitializePlatformSpecific(arraysize(registers), registers); | 156 data->InitializePlatformSpecific(arraysize(registers), registers); |
157 } | 157 } |
158 | 158 |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 Register registers[] = { | 442 Register registers[] = { |
443 r1, // loaded new FP | 443 r1, // loaded new FP |
444 }; | 444 }; |
445 data->InitializePlatformSpecific(arraysize(registers), registers); | 445 data->InitializePlatformSpecific(arraysize(registers), registers); |
446 } | 446 } |
447 | 447 |
448 } // namespace internal | 448 } // namespace internal |
449 } // namespace v8 | 449 } // namespace v8 |
450 | 450 |
451 #endif // V8_TARGET_ARCH_ARM | 451 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |