| 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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 631 void FrameDropperTrampolineDescriptor::InitializePlatformIndependent( | 636 void FrameDropperTrampolineDescriptor::InitializePlatformIndependent( |
| 632 CallInterfaceDescriptorData* data) { | 637 CallInterfaceDescriptorData* data) { |
| 633 // New FP value. | 638 // New FP value. |
| 634 MachineType machine_types[] = {MachineType::Pointer()}; | 639 MachineType machine_types[] = {MachineType::Pointer()}; |
| 635 data->InitializePlatformIndependent(arraysize(machine_types), 0, | 640 data->InitializePlatformIndependent(arraysize(machine_types), 0, |
| 636 machine_types); | 641 machine_types); |
| 637 } | 642 } |
| 638 | 643 |
| 639 } // namespace internal | 644 } // namespace internal |
| 640 } // namespace v8 | 645 } // namespace v8 |
| OLD | NEW |