summaryrefslogtreecommitdiff
path: root/test/wasm-only.asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm-only.asm.js')
-rw-r--r--test/wasm-only.asm.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/wasm-only.asm.js b/test/wasm-only.asm.js
index eb18fce03..cf0119cd7 100644
--- a/test/wasm-only.asm.js
+++ b/test/wasm-only.asm.js
@@ -22,6 +22,7 @@ function asm(global, env, buffer) {
var illegalImportResult = env.illegalImportResult;
var _fabsf = env._fabsf;
+ var do_i64 = env.do_i64;
function loads() {
var i = 0, f = fround(0), d = +0;
@@ -241,9 +242,10 @@ function asm(global, env, buffer) {
function __emscripten_dceable_type_decls() { // dce-able, but this defines the type of fabsf which has no other use
fround(_fabsf(fround(0.0)));
+ i64(do_i64());
}
- var FUNCTION_TABLE_X = [illegalImport, _fabsf]; // must stay ok in the table, not legalized, as it will be called internally by the true type
+ var FUNCTION_TABLE_X = [illegalImport, _fabsf, do_i64]; // must stay ok in the table, not legalized, as it will be called internally by the true type
return { test64: test64, illegalParam : illegalParam, illegalResult: illegalResult, keepAlive: keepAlive };
}