summaryrefslogtreecommitdiff
path: root/src/wasm-js.cpp
diff options
context:
space:
mode:
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();
}