diff options
Diffstat (limited to 'test/passes/optimize-instructions_all-features.wast')
-rw-r--r-- | test/passes/optimize-instructions_all-features.wast | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/test/passes/optimize-instructions_all-features.wast b/test/passes/optimize-instructions_all-features.wast index 37d0d7618..aafb6c9d8 100644 --- a/test/passes/optimize-instructions_all-features.wast +++ b/test/passes/optimize-instructions_all-features.wast @@ -4207,15 +4207,14 @@ (unreachable) ) ) - ;; TODO (GC) ;; Tests when if arms are subtype of if's type - ;; (func $if-arms-subtype (result anyref) - ;; (if (result anyref) - ;; (i32.const 0) - ;; (ref.null extern) - ;; (ref.null func) - ;; ) - ;; ) + (func $if-arms-subtype (result anyref) + (if (result anyref) + (i32.const 0) + (ref.null extern) + (ref.null func) + ) + ) (func $optimize-boolean-context (param $x i32) (param $y i32) ;; 0 - x ==> x (if |