[interpreter] Fix the interface descriptor for interpreter dispatch.
The bytecode offset parameter was Int32, but everywhere else it's an IntPtr. BUG= Review-Url: https://codereview.chromium.org/2369033003 Cr-Commit-Position: refs/heads/master@{#39777}
This commit is contained in:
parent
437a33efd2
commit
0fb486fe44
@ -417,9 +417,9 @@ void ApiCallbackDescriptor::InitializePlatformIndependent(
|
||||
void InterpreterDispatchDescriptor::InitializePlatformIndependent(
|
||||
CallInterfaceDescriptorData* data) {
|
||||
// kAccumulator, kBytecodeOffset, kBytecodeArray, kDispatchTable
|
||||
MachineType machine_types[] = {MachineType::AnyTagged(), MachineType::Int32(),
|
||||
MachineType::AnyTagged(),
|
||||
MachineType::AnyTagged()};
|
||||
MachineType machine_types[] = {
|
||||
MachineType::AnyTagged(), MachineType::IntPtr(), MachineType::AnyTagged(),
|
||||
MachineType::AnyTagged()};
|
||||
data->InitializePlatformIndependent(arraysize(machine_types), 0,
|
||||
machine_types);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user