'fix' type of br_if and comment multiple table definitions in test module

This commit is contained in:
Ilya Rezvov
2018-04-08 20:06:25 -07:00
parent 8ef3eadc9a
commit 8cd33831a1
3 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -29,11 +29,11 @@
(type $forward (func (param i32)))
(table anyfunc (elem $print_i32 $print_f64))
(table (export "my-table") anyfunc (elem $print_i32 $print_f64))
(table (export "my-table") (export "my-table2") anyfunc (elem $print_i32 $print_f64))
(table (import "external-mod" "external-table") 0 anyfunc)
(table (export "my-table") (import "external-mod" "external-table") 0 anyfunc)
(table (export "my-table") (export "my-table2") (import "external-mod" "external-table") 0 anyfunc)
;; (table (export "my-table") anyfunc (elem $print_i32 $print_f64))
;; (table (export "my-table") (export "my-table2") anyfunc (elem $print_i32 $print_f64))
;; (table (import "external-mod" "external-table") 0 anyfunc)
;; (table (export "my-table") (import "external-mod" "external-table") 0 anyfunc)
;; (table (export "my-table") (export "my-table2") (import "external-mod" "external-table") 0 anyfunc)
(func (export "print32") (param $i i32)
(local $x f32)