diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm2js.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm2js.h b/src/wasm2js.h index ab093dd03..ac0268e5b 100644 --- a/src/wasm2js.h +++ b/src/wasm2js.h @@ -382,7 +382,7 @@ Ref Wasm2JSBuilder::processWasm(Module* wasm, Name funcName) { theVar, "memory", ValueBuilder::makeDot(ValueBuilder::makeName(ENV), - ValueBuilder::makeName("memory"))); + ValueBuilder::makeName(wasm->memory.base))); } // for emscripten, add a table import - otherwise we would have // FUNCTION_TABLE be an upvar, and not as easy to be minified. |