| 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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 CallInterfaceDescriptorData* data) { | 371 CallInterfaceDescriptorData* data) { |
| 372 // kFunction, kSlot | 372 // kFunction, kSlot |
| 373 MachineType machine_types[] = {MachineType::AnyTagged(), | 373 MachineType machine_types[] = {MachineType::AnyTagged(), |
| 374 MachineType::TaggedSigned()}; | 374 MachineType::TaggedSigned()}; |
| 375 data->InitializePlatformIndependent(arraysize(machine_types), 0, | 375 data->InitializePlatformIndependent(arraysize(machine_types), 0, |
| 376 machine_types); | 376 machine_types); |
| 377 } | 377 } |
| 378 | 378 |
| 379 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformIndependent( | 379 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformIndependent( |
| 380 CallInterfaceDescriptorData* data) { | 380 CallInterfaceDescriptorData* data) { |
| 381 // kFunction, kSlot, kVector | 381 // kFunction, kActualArgumentsCount, kSlot, kVector |
| 382 MachineType machine_types[] = {MachineType::TaggedPointer(), | 382 MachineType machine_types[] = { |
| 383 MachineType::TaggedSigned(), | 383 MachineType::TaggedPointer(), MachineType::Int32(), |
| 384 MachineType::AnyTagged()}; | 384 MachineType::TaggedSigned(), MachineType::AnyTagged()}; |
| 385 data->InitializePlatformIndependent(arraysize(machine_types), 0, | 385 data->InitializePlatformIndependent(arraysize(machine_types), 0, |
| 386 machine_types); | 386 machine_types); |
| 387 } | 387 } |
| 388 | 388 |
| 389 void ArrayNoArgumentConstructorDescriptor::InitializePlatformIndependent( | 389 void ArrayNoArgumentConstructorDescriptor::InitializePlatformIndependent( |
| 390 CallInterfaceDescriptorData* data) { | 390 CallInterfaceDescriptorData* data) { |
| 391 // kFunction, kAllocationSite, kActualArgumentsCount, kFunctionParameter | 391 // kFunction, kAllocationSite, kActualArgumentsCount, kFunctionParameter |
| 392 MachineType machine_types[] = {MachineType::TaggedPointer(), | 392 MachineType machine_types[] = {MachineType::TaggedPointer(), |
| 393 MachineType::AnyTagged(), MachineType::Int32(), | 393 MachineType::AnyTagged(), MachineType::Int32(), |
| 394 MachineType::AnyTagged()}; | 394 MachineType::AnyTagged()}; |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 CallInterfaceDescriptorData* data) { | 481 CallInterfaceDescriptorData* data) { |
| 482 // kNumberOfArguments, kFirstArgument, kFunctionEntry | 482 // kNumberOfArguments, kFirstArgument, kFunctionEntry |
| 483 MachineType machine_types[] = {MachineType::Int32(), MachineType::Pointer(), | 483 MachineType machine_types[] = {MachineType::Int32(), MachineType::Pointer(), |
| 484 MachineType::Pointer()}; | 484 MachineType::Pointer()}; |
| 485 data->InitializePlatformIndependent(arraysize(machine_types), 0, | 485 data->InitializePlatformIndependent(arraysize(machine_types), 0, |
| 486 machine_types); | 486 machine_types); |
| 487 } | 487 } |
| 488 | 488 |
| 489 } // namespace internal | 489 } // namespace internal |
| 490 } // namespace v8 | 490 } // namespace v8 |
| OLD | NEW |