Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(576)

Unified Diff: src/interface-descriptors.cc

Issue 2369033003: [interpreter] Fix the interface descriptor for interpreter dispatch. (Closed)
Patch Set: Update. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interface-descriptors.cc
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc
index 2a59e1d5eb0f9064e428930c05550649f5976ff0..dd8ed975385a3b4a02ffc6046edca34dd6d7bfa1 100644
--- a/src/interface-descriptors.cc
+++ b/src/interface-descriptors.cc
@@ -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);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698