diff options
author | Nathan Froyd <froydnj@gmail.com> | 2018-03-20 17:51:02 -0400 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2018-03-20 14:51:02 -0700 |
commit | 4eeec14d343793af27e77620e1e66eda522a8a6b (patch) | |
tree | ccd5c51721abede7f98ac16aa78c38bbf0472877 /test/empty_imported_table.2asm.js | |
parent | 267e4b55f8c2f598ea5ea44d5df88d83bfb3ebac (diff) | |
download | binaryen-4eeec14d343793af27e77620e1e66eda522a8a6b.tar.gz binaryen-4eeec14d343793af27e77620e1e66eda522a8a6b.tar.bz2 binaryen-4eeec14d343793af27e77620e1e66eda522a8a6b.zip |
add the highbits global to the IR (#1483)
We were using the global to return 64-bit values from functions, but
said global wasn't actually present in the IR. This omission caused the
generated code to fail validation.
Diffstat (limited to 'test/empty_imported_table.2asm.js')
-rw-r--r-- | test/empty_imported_table.2asm.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/empty_imported_table.2asm.js b/test/empty_imported_table.2asm.js index 276827473..cec84b05f 100644 --- a/test/empty_imported_table.2asm.js +++ b/test/empty_imported_table.2asm.js @@ -15,6 +15,7 @@ function asmFunc(global, env, buffer) { var Math_min = global.Math.min; var Math_max = global.Math.max; var import$table$0 = env.table; + var i64toi32_i32$HIGH_BITS = 0; function __wasm_ctz_i32(x) { x = x | 0; var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0; |