| 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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 CallInterfaceDescriptorData* data) { | 456 CallInterfaceDescriptorData* data) { |
| 457 // kFunction, kNewTarget, kActualArgumentsCount | 457 // kFunction, kNewTarget, kActualArgumentsCount |
| 458 MachineType machine_types[] = { | 458 MachineType machine_types[] = { |
| 459 MachineType::AnyTagged(), MachineType::AnyTagged(), MachineType::Int32()}; | 459 MachineType::AnyTagged(), MachineType::AnyTagged(), MachineType::Int32()}; |
| 460 data->InitializePlatformIndependent(arraysize(machine_types), 0, | 460 data->InitializePlatformIndependent(arraysize(machine_types), 0, |
| 461 machine_types); | 461 machine_types); |
| 462 } | 462 } |
| 463 | 463 |
| 464 void CallFunctionWithFeedbackDescriptor::InitializePlatformIndependent( | 464 void CallFunctionWithFeedbackDescriptor::InitializePlatformIndependent( |
| 465 CallInterfaceDescriptorData* data) { | 465 CallInterfaceDescriptorData* data) { |
| 466 // kFunction, kSlot | 466 // kFunction, kActualArgumentsCount, kSlot |
| 467 MachineType machine_types[] = {MachineType::AnyTagged(), | 467 MachineType machine_types[] = {MachineType::AnyTagged(), MachineType::Int32(), |
| 468 MachineType::TaggedSigned()}; | 468 MachineType::AnyTagged()}; |
| 469 data->InitializePlatformIndependent(arraysize(machine_types), 0, | 469 data->InitializePlatformIndependent(arraysize(machine_types), 0, |
| 470 machine_types); | 470 machine_types); |
| 471 } | 471 } |
| 472 | 472 |
| 473 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformIndependent( | 473 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformIndependent( |
| 474 CallInterfaceDescriptorData* data) { | 474 CallInterfaceDescriptorData* data) { |
| 475 // kFunction, kActualArgumentsCount, kSlot, kVector | 475 // kFunction, kActualArgumentsCount, kSlot, kVector |
| 476 MachineType machine_types[] = { | 476 MachineType machine_types[] = {MachineType::AnyTagged(), MachineType::Int32(), |
| 477 MachineType::TaggedPointer(), MachineType::Int32(), | 477 MachineType::AnyTagged(), |
| 478 MachineType::TaggedSigned(), MachineType::AnyTagged()}; | 478 MachineType::AnyTagged()}; |
| 479 data->InitializePlatformIndependent(arraysize(machine_types), 0, | 479 data->InitializePlatformIndependent(arraysize(machine_types), 0, |
| 480 machine_types); | 480 machine_types); |
| 481 } | 481 } |
| 482 | 482 |
| 483 void BuiltinDescriptor::InitializePlatformIndependent( | 483 void BuiltinDescriptor::InitializePlatformIndependent( |
| 484 CallInterfaceDescriptorData* data) { | 484 CallInterfaceDescriptorData* data) { |
| 485 // kTarget, kNewTarget, kArgumentsCount | 485 // kTarget, kNewTarget, kArgumentsCount |
| 486 MachineType machine_types[] = { | 486 MachineType machine_types[] = { |
| 487 MachineType::AnyTagged(), MachineType::AnyTagged(), MachineType::Int32()}; | 487 MachineType::AnyTagged(), MachineType::AnyTagged(), MachineType::Int32()}; |
| 488 data->InitializePlatformIndependent(arraysize(machine_types), 0, | 488 data->InitializePlatformIndependent(arraysize(machine_types), 0, |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 void FrameDropperTrampolineDescriptor::InitializePlatformIndependent( | 610 void FrameDropperTrampolineDescriptor::InitializePlatformIndependent( |
| 611 CallInterfaceDescriptorData* data) { | 611 CallInterfaceDescriptorData* data) { |
| 612 // New FP value. | 612 // New FP value. |
| 613 MachineType machine_types[] = {MachineType::Pointer()}; | 613 MachineType machine_types[] = {MachineType::Pointer()}; |
| 614 data->InitializePlatformIndependent(arraysize(machine_types), 0, | 614 data->InitializePlatformIndependent(arraysize(machine_types), 0, |
| 615 machine_types); | 615 machine_types); |
| 616 } | 616 } |
| 617 | 617 |
| 618 } // namespace internal | 618 } // namespace internal |
| 619 } // namespace v8 | 619 } // namespace v8 |
| OLD | NEW |