diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-11-14 16:03:00 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-12-07 16:50:04 -1000 |
commit | 49bdfd20094e909fb6f4ea989e2a2cbfe01e8741 (patch) | |
tree | 2aebda3b4b6d3655561a7281e3bf9396d8709c1b /test/emcc_hello_world.fromasm.imprecise | |
parent | 5242ab0fe2ec18f249aafc34fd73a0b36d1e48ac (diff) | |
download | binaryen-49bdfd20094e909fb6f4ea989e2a2cbfe01e8741.tar.gz binaryen-49bdfd20094e909fb6f4ea989e2a2cbfe01e8741.tar.bz2 binaryen-49bdfd20094e909fb6f4ea989e2a2cbfe01e8741.zip |
use tableBase for the table segments
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r-- | test/emcc_hello_world.fromasm.imprecise | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise index 4363dc349..806735e42 100644 --- a/test/emcc_hello_world.fromasm.imprecise +++ b/test/emcc_hello_world.fromasm.imprecise @@ -35,7 +35,7 @@ (import "env" "table" (table 18 18 anyfunc)) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) - (elem (i32.const 0) $b0 $___stdio_close $b1 $b1 $___stdout_write $___stdio_seek $___stdio_write $b1 $b1 $b1 $b2 $b2 $b2 $b2 $b2 $_cleanup $b2 $b2) + (elem (get_global $tableBase) $b0 $___stdio_close $b1 $b1 $___stdout_write $___stdio_seek $___stdio_write $b1 $b1 $b1 $b2 $b2 $b2 $b2 $b2 $_cleanup $b2 $b2) (global $STACKTOP (mut i32) (get_global $STACKTOP$asm2wasm$import)) (global $STACK_MAX (mut i32) (get_global $STACK_MAX$asm2wasm$import)) (global $tempDoublePtr (mut i32) (get_global $tempDoublePtr$asm2wasm$import)) |