summaryrefslogtreecommitdiff
path: root/src/wasm-js.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-10-31 16:09:10 -0700
committerAlon Zakai <alonzakai@gmail.com>2015-10-31 16:09:10 -0700
commitd726a11c7ee90b0bd2dfd3be1774fe3367da0432 (patch)
tree329637e3dbcd0a7b9b7997359af7957838f670f2 /src/wasm-js.cpp
parenta8963f481e5db2c212a7e7fa83d3599c65d7ef5f (diff)
downloadbinaryen-d726a11c7ee90b0bd2dfd3be1774fe3367da0432.tar.gz
binaryen-d726a11c7ee90b0bd2dfd3be1774fe3367da0432.tar.bz2
binaryen-d726a11c7ee90b0bd2dfd3be1774fe3367da0432.zip
polyfill fixes
Diffstat (limited to 'src/wasm-js.cpp')
-rw-r--r--src/wasm-js.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm-js.cpp b/src/wasm-js.cpp
index 8305cb4a9..0fc844946 100644
--- a/src/wasm-js.cpp
+++ b/src/wasm-js.cpp
@@ -61,9 +61,9 @@ extern "C" ModuleInstance* EMSCRIPTEN_KEEPALIVE load_asm(char *input) {
});
for (auto& argument : arguments) {
if (argument.type == i32) {
- EM_ASM({ Module['tempArguments'].push($0) }, argument.geti32());
+ EM_ASM_({ Module['tempArguments'].push($0) }, argument.geti32());
} else if (argument.type == f64) {
- EM_ASM({ Module['tempArguments'].push($0) }, argument.getf64());
+ EM_ASM_({ Module['tempArguments'].push($0) }, argument.getf64());
} else {
abort();
}