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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 MachineType machine_types[] = { | 410 MachineType machine_types[] = { |
411 MachineType::AnyTagged(), MachineType::AnyTagged(), | 411 MachineType::AnyTagged(), MachineType::AnyTagged(), |
412 MachineType::AnyTagged(), MachineType::Pointer()}; | 412 MachineType::AnyTagged(), MachineType::Pointer()}; |
413 data->InitializePlatformIndependent(arraysize(machine_types), 0, | 413 data->InitializePlatformIndependent(arraysize(machine_types), 0, |
414 machine_types); | 414 machine_types); |
415 } | 415 } |
416 | 416 |
417 void InterpreterDispatchDescriptor::InitializePlatformIndependent( | 417 void InterpreterDispatchDescriptor::InitializePlatformIndependent( |
418 CallInterfaceDescriptorData* data) { | 418 CallInterfaceDescriptorData* data) { |
419 // kAccumulator, kBytecodeOffset, kBytecodeArray, kDispatchTable | 419 // kAccumulator, kBytecodeOffset, kBytecodeArray, kDispatchTable |
420 MachineType machine_types[] = {MachineType::AnyTagged(), MachineType::Int32(), | 420 MachineType machine_types[] = { |
421 MachineType::AnyTagged(), | 421 MachineType::AnyTagged(), MachineType::IntPtr(), MachineType::AnyTagged(), |
422 MachineType::AnyTagged()}; | 422 MachineType::AnyTagged()}; |
423 data->InitializePlatformIndependent(arraysize(machine_types), 0, | 423 data->InitializePlatformIndependent(arraysize(machine_types), 0, |
424 machine_types); | 424 machine_types); |
425 } | 425 } |
426 | 426 |
427 } // namespace internal | 427 } // namespace internal |
428 } // namespace v8 | 428 } // namespace v8 |
OLD | NEW |