summaryrefslogtreecommitdiff
path: root/test/unit.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-11-14 16:03:00 -0800
committerAlon Zakai <alonzakai@gmail.com>2016-12-07 16:50:04 -1000
commit49bdfd20094e909fb6f4ea989e2a2cbfe01e8741 (patch)
tree2aebda3b4b6d3655561a7281e3bf9396d8709c1b /test/unit.fromasm.imprecise
parent5242ab0fe2ec18f249aafc34fd73a0b36d1e48ac (diff)
downloadbinaryen-49bdfd20094e909fb6f4ea989e2a2cbfe01e8741.tar.gz
binaryen-49bdfd20094e909fb6f4ea989e2a2cbfe01e8741.tar.bz2
binaryen-49bdfd20094e909fb6f4ea989e2a2cbfe01e8741.zip
use tableBase for the table segments
Diffstat (limited to 'test/unit.fromasm.imprecise')
-rw-r--r--test/unit.fromasm.imprecise2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise
index 62c73c681..f5a96144f 100644
--- a/test/unit.fromasm.imprecise
+++ b/test/unit.fromasm.imprecise
@@ -20,7 +20,7 @@
(import "env" "table" (table 24 24 anyfunc))
(import "env" "memoryBase" (global $memoryBase i32))
(import "env" "tableBase" (global $tableBase i32))
- (elem (i32.const 0) $big_negative $big_negative $big_negative $big_negative $w $w $importedDoubles $w $fr $cneg $fr $fr $fr $fr $fr $fr $vi $vi $vi $vi $vi $vi $vi $vi)
+ (elem (get_global $tableBase) $big_negative $big_negative $big_negative $big_negative $w $w $importedDoubles $w $fr $cneg $fr $fr $fr $fr $fr $fr $vi $vi $vi $vi $vi $vi $vi $vi)
(global $t (mut f64) (get_global $t$asm2wasm$import))
(global $u (mut f64) (get_global $u$asm2wasm$import))
(global $Int (mut i32) (i32.const 0))