Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/preamble.js
Original file line number Diff line number Diff line change
Expand Up @@ -503,10 +503,9 @@ var splitModuleProxyHandler = {
// When the table is dynamically laid out, the placeholder functions names
// are offsets from the table base. In the main module, the table base is
// always 1.
return wasmTable.get(1 + parseInt(prop))(...args);
#else
return wasmTable.get(prop)(...args);
prop = 1 + parseInt(prop)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: add a semicolon at end of line.

#endif
return wasmTable.get({{{ toIndexType('prop') }}})(...args);
#endif
}
}
Expand Down