From d726a11c7ee90b0bd2dfd3be1774fe3367da0432 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Sat, 31 Oct 2015 16:09:10 -0700 Subject: polyfill fixes --- src/wasm-js.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wasm-js.cpp') 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(); } -- cgit v1.2.3