Chromium Code Reviews
Description[wasm] Pass the context to ToJS.
The original code assumed that the context that is needed in
wasm-compiler.cc in ToJS() can be acquired from the module_. However,
when ToJS() is used in the JSToWasm wrapper, module_ is not initialized.
With this CL the context is passed explicitly to ToJS().
R=titzer@chromium.org
TEST=mjsunit/wasm/ffi-error.js
BUG=chromium:639492
Patch Set 1 #
Total comments: 1
Depends on Patchset: Messages
Total messages: 6 (4 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||