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/interface-descriptors.h" | 5 #include "src/interface-descriptors.h" |
6 | 6 |
7 namespace v8 { | 7 namespace v8 { |
8 namespace internal { | 8 namespace internal { |
9 | 9 |
10 namespace { | 10 namespace { |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 } | 209 } |
210 | 210 |
211 | 211 |
212 void ToStringDescriptor::InitializePlatformSpecific( | 212 void ToStringDescriptor::InitializePlatformSpecific( |
213 CallInterfaceDescriptorData* data) { | 213 CallInterfaceDescriptorData* data) { |
214 Register registers[] = {ReceiverRegister()}; | 214 Register registers[] = {ReceiverRegister()}; |
215 data->InitializePlatformSpecific(arraysize(registers), registers); | 215 data->InitializePlatformSpecific(arraysize(registers), registers); |
216 } | 216 } |
217 | 217 |
218 | 218 |
| 219 void ToNameDescriptor::InitializePlatformSpecific( |
| 220 CallInterfaceDescriptorData* data) { |
| 221 Register registers[] = {ReceiverRegister()}; |
| 222 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 223 } |
| 224 |
| 225 |
219 void ToObjectDescriptor::InitializePlatformSpecific( | 226 void ToObjectDescriptor::InitializePlatformSpecific( |
220 CallInterfaceDescriptorData* data) { | 227 CallInterfaceDescriptorData* data) { |
221 Register registers[] = {ReceiverRegister()}; | 228 Register registers[] = {ReceiverRegister()}; |
222 data->InitializePlatformSpecific(arraysize(registers), registers); | 229 data->InitializePlatformSpecific(arraysize(registers), registers); |
223 } | 230 } |
224 | 231 |
225 | 232 |
226 void MathPowTaggedDescriptor::InitializePlatformSpecific( | 233 void MathPowTaggedDescriptor::InitializePlatformSpecific( |
227 CallInterfaceDescriptorData* data) { | 234 CallInterfaceDescriptorData* data) { |
228 Register registers[] = {exponent()}; | 235 Register registers[] = {exponent()}; |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 function->InitParameter(0, AnyTagged(zone)); // callee | 590 function->InitParameter(0, AnyTagged(zone)); // callee |
584 function->InitParameter(1, AnyTagged(zone)); // call_data | 591 function->InitParameter(1, AnyTagged(zone)); // call_data |
585 function->InitParameter(2, AnyTagged(zone)); // holder | 592 function->InitParameter(2, AnyTagged(zone)); // holder |
586 function->InitParameter(3, ExternalPointer(zone)); // api_function_address | 593 function->InitParameter(3, ExternalPointer(zone)); // api_function_address |
587 return function; | 594 return function; |
588 } | 595 } |
589 | 596 |
590 | 597 |
591 } // namespace internal | 598 } // namespace internal |
592 } // namespace v8 | 599 } // namespace v8 |
OLD | NEW |