diff options
Diffstat (limited to 'test/passes')
-rw-r--r-- | test/passes/Oz_fuzz-exec_all-features.txt | 2 | ||||
-rw-r--r-- | test/passes/Oz_fuzz-exec_all-features.wast | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/test/passes/Oz_fuzz-exec_all-features.txt b/test/passes/Oz_fuzz-exec_all-features.txt index 33760cae3..7b555cae0 100644 --- a/test/passes/Oz_fuzz-exec_all-features.txt +++ b/test/passes/Oz_fuzz-exec_all-features.txt @@ -156,7 +156,7 @@ (i32.const 1) ) (drop - (br_on_cast_fail $any (ref $struct) (ref $extendedstruct) + (br_on_cast_fail $any $extendedstruct (local.get $0) ) ) diff --git a/test/passes/Oz_fuzz-exec_all-features.wast b/test/passes/Oz_fuzz-exec_all-features.wast index 3155c3855..d7097ee1e 100644 --- a/test/passes/Oz_fuzz-exec_all-features.wast +++ b/test/passes/Oz_fuzz-exec_all-features.wast @@ -84,9 +84,9 @@ (block $extendedblock (result (ref $extendedstruct)) (drop ;; second, try to cast our simple $struct to what it is, which will work - (br_on_cast $block anyref (ref $struct) + (br_on_cast $block $struct ;; first, try to cast our simple $struct to an extended, which will fail - (br_on_cast $extendedblock anyref (ref $extendedstruct) + (br_on_cast $extendedblock $extendedstruct (local.get $any) ) ) @@ -113,7 +113,7 @@ (drop ;; try to cast our simple $struct to an extended, which will fail, and ;; so we will branch, skipping the next logging. - (br_on_cast_fail $any anyref (ref $extendedstruct) + (br_on_cast_fail $any $extendedstruct (local.get $any) ) ) @@ -134,7 +134,7 @@ (drop ;; try to cast our simple $struct to an extended, which will succeed, and ;; so we will continue to the next logging. - (br_on_cast_fail $any anyref (ref $extendedstruct) + (br_on_cast_fail $any $extendedstruct (local.get $any) ) ) @@ -353,9 +353,9 @@ (block $extendedblock (result (ref $extendedstruct)) (drop ;; second, try to cast our simple $struct to what it is, which will work - (br_on_cast $block anyref (ref $struct) + (br_on_cast $block $struct ;; first, try to cast our simple $struct to an extended, which will fail - (br_on_cast $extendedblock anyref (ref $extendedstruct) + (br_on_cast $extendedblock $extendedstruct (local.get $any) ) ) @@ -380,7 +380,7 @@ (block $failblock (result anyref) (drop ;; try to cast our simple $struct to an extended, which will fail - (br_on_cast_fail $failblock anyref (ref $extendedstruct) + (br_on_cast_fail $failblock $extendedstruct (local.get $any) ) ) |