| 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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 Register registers[] = {LeftRegister(), RightRegister()}; | 257 Register registers[] = {LeftRegister(), RightRegister()}; |
| 258 data->InitializePlatformSpecific(arraysize(registers), registers); | 258 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 259 } | 259 } |
| 260 | 260 |
| 261 void TypeConversionDescriptor::InitializePlatformSpecific( | 261 void TypeConversionDescriptor::InitializePlatformSpecific( |
| 262 CallInterfaceDescriptorData* data) { | 262 CallInterfaceDescriptorData* data) { |
| 263 Register registers[] = {ArgumentRegister()}; | 263 Register registers[] = {ArgumentRegister()}; |
| 264 data->InitializePlatformSpecific(arraysize(registers), registers); | 264 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 265 } | 265 } |
| 266 | 266 |
| 267 void TypeConversionStackParameterDescriptor::InitializePlatformSpecific( |
| 268 CallInterfaceDescriptorData* data) { |
| 269 data->InitializePlatformSpecific(0, nullptr); |
| 270 } |
| 271 |
| 267 void MathPowTaggedDescriptor::InitializePlatformSpecific( | 272 void MathPowTaggedDescriptor::InitializePlatformSpecific( |
| 268 CallInterfaceDescriptorData* data) { | 273 CallInterfaceDescriptorData* data) { |
| 269 Register registers[] = {exponent()}; | 274 Register registers[] = {exponent()}; |
| 270 data->InitializePlatformSpecific(arraysize(registers), registers); | 275 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 271 } | 276 } |
| 272 | 277 |
| 273 void MathPowIntegerDescriptor::InitializePlatformSpecific( | 278 void MathPowIntegerDescriptor::InitializePlatformSpecific( |
| 274 CallInterfaceDescriptorData* data) { | 279 CallInterfaceDescriptorData* data) { |
| 275 Register registers[] = {exponent()}; | 280 Register registers[] = {exponent()}; |
| 276 data->InitializePlatformSpecific(arraysize(registers), registers); | 281 data->InitializePlatformSpecific(arraysize(registers), registers); |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 void FrameDropperTrampolineDescriptor::InitializePlatformIndependent( | 646 void FrameDropperTrampolineDescriptor::InitializePlatformIndependent( |
| 642 CallInterfaceDescriptorData* data) { | 647 CallInterfaceDescriptorData* data) { |
| 643 // New FP value. | 648 // New FP value. |
| 644 MachineType machine_types[] = {MachineType::Pointer()}; | 649 MachineType machine_types[] = {MachineType::Pointer()}; |
| 645 data->InitializePlatformIndependent(arraysize(machine_types), 0, | 650 data->InitializePlatformIndependent(arraysize(machine_types), 0, |
| 646 machine_types); | 651 machine_types); |
| 647 } | 652 } |
| 648 | 653 |
| 649 } // namespace internal | 654 } // namespace internal |
| 650 } // namespace v8 | 655 } // namespace v8 |
| OLD | NEW |