diff options
Diffstat (limited to 'test/reduce')
-rw-r--r-- | test/reduce/destructive.wast | 2 | ||||
-rw-r--r-- | test/reduce/memory_table.wast | 2 | ||||
-rw-r--r-- | test/reduce/memory_table.wast.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/reduce/destructive.wast b/test/reduce/destructive.wast index 65786502f..2670fccf9 100644 --- a/test/reduce/destructive.wast +++ b/test/reduce/destructive.wast @@ -1,7 +1,7 @@ (module (export "x" (func $x)) (func $x (param $x i32) (result i32) - (if (i32.eq (get_local $x) (i32.const 98658746)) + (if (i32.eq (local.get $x) (i32.const 98658746)) (unreachable) ;; this can be removed destructively, since we do not sent this param ) (i32.const 100) diff --git a/test/reduce/memory_table.wast b/test/reduce/memory_table.wast index 129d95155..9518f5968 100644 --- a/test/reduce/memory_table.wast +++ b/test/reduce/memory_table.wast @@ -1,7 +1,7 @@ (module (type $i (func (result i32))) (memory $0 256 256) - (table 481 481 anyfunc) + (table 481 481 funcref) (elem (i32.const 0) $f0 $f0 $f1 $f2 $f0 $f3 $f0) (data (i32.const 0) "p\0bflkj") (data (i32.const 10960) "1234hello") diff --git a/test/reduce/memory_table.wast.txt b/test/reduce/memory_table.wast.txt index 5f6b3e7e1..3c3b80ca8 100644 --- a/test/reduce/memory_table.wast.txt +++ b/test/reduce/memory_table.wast.txt @@ -2,7 +2,7 @@ (type $0 (func (result i32))) (type $1 (func)) (memory $0 256 256) - (table $0 481 481 anyfunc) + (table $0 481 481 funcref) (elem (i32.const 0) $0 $0 $0 $2) (export "f1" (func $1)) (export "f2" (func $2)) |