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 | 10 |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 data->InitializePlatformIndependent(arraysize(machine_types), 0, | 271 data->InitializePlatformIndependent(arraysize(machine_types), 0, |
272 machine_types); | 272 machine_types); |
273 } | 273 } |
274 | 274 |
275 void TypeConversionDescriptor::InitializePlatformSpecific( | 275 void TypeConversionDescriptor::InitializePlatformSpecific( |
276 CallInterfaceDescriptorData* data) { | 276 CallInterfaceDescriptorData* data) { |
277 Register registers[] = {ArgumentRegister()}; | 277 Register registers[] = {ArgumentRegister()}; |
278 data->InitializePlatformSpecific(arraysize(registers), registers); | 278 data->InitializePlatformSpecific(arraysize(registers), registers); |
279 } | 279 } |
280 | 280 |
| 281 void TypeConversionStackParameterDescriptor::InitializePlatformSpecific( |
| 282 CallInterfaceDescriptorData* data) { |
| 283 data->InitializePlatformSpecific(0, nullptr); |
| 284 } |
| 285 |
| 286 void TypeConversionStackParameterDescriptor::InitializePlatformIndependent( |
| 287 CallInterfaceDescriptorData* data) { |
| 288 data->InitializePlatformIndependent(data->register_param_count(), 1, NULL); |
| 289 } |
| 290 |
281 void MathPowTaggedDescriptor::InitializePlatformSpecific( | 291 void MathPowTaggedDescriptor::InitializePlatformSpecific( |
282 CallInterfaceDescriptorData* data) { | 292 CallInterfaceDescriptorData* data) { |
283 Register registers[] = {exponent()}; | 293 Register registers[] = {exponent()}; |
284 data->InitializePlatformSpecific(arraysize(registers), registers); | 294 data->InitializePlatformSpecific(arraysize(registers), registers); |
285 } | 295 } |
286 | 296 |
287 void MathPowIntegerDescriptor::InitializePlatformSpecific( | 297 void MathPowIntegerDescriptor::InitializePlatformSpecific( |
288 CallInterfaceDescriptorData* data) { | 298 CallInterfaceDescriptorData* data) { |
289 Register registers[] = {exponent()}; | 299 Register registers[] = {exponent()}; |
290 data->InitializePlatformSpecific(arraysize(registers), registers); | 300 data->InitializePlatformSpecific(arraysize(registers), registers); |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
655 void FrameDropperTrampolineDescriptor::InitializePlatformIndependent( | 665 void FrameDropperTrampolineDescriptor::InitializePlatformIndependent( |
656 CallInterfaceDescriptorData* data) { | 666 CallInterfaceDescriptorData* data) { |
657 // New FP value. | 667 // New FP value. |
658 MachineType machine_types[] = {MachineType::Pointer()}; | 668 MachineType machine_types[] = {MachineType::Pointer()}; |
659 data->InitializePlatformIndependent(arraysize(machine_types), 0, | 669 data->InitializePlatformIndependent(arraysize(machine_types), 0, |
660 machine_types); | 670 machine_types); |
661 } | 671 } |
662 | 672 |
663 } // namespace internal | 673 } // namespace internal |
664 } // namespace v8 | 674 } // namespace v8 |
OLD | NEW |