summaryrefslogtreecommitdiff
path: root/test/passes/simplify-locals_all-features_disable-exception-handling.wast
diff options
context:
space:
mode:
authorDaniel Wirtz <dcode@dcode.io>2020-09-09 03:40:09 +0200
committerGitHub <noreply@github.com>2020-09-09 03:40:09 +0200
commit916ce6f1a9f7c85102a8c69f593b301c8df5d19d (patch)
tree93b22be9f2c0718248528d140b05221cb6878600 /test/passes/simplify-locals_all-features_disable-exception-handling.wast
parent0fdcf5b51a0c8c379b2d3ad8262aa22bb234f0e9 (diff)
downloadbinaryen-916ce6f1a9f7c85102a8c69f593b301c8df5d19d.tar.gz
binaryen-916ce6f1a9f7c85102a8c69f593b301c8df5d19d.tar.bz2
binaryen-916ce6f1a9f7c85102a8c69f593b301c8df5d19d.zip
Update reference types (#3084)
Align with the current state of the reference types proposal: * Remove `nullref` * Remove `externref` and `funcref` subtyping * A `Literal` of a nullable reference type can now represent `null` (previously was type `nullref`) * Update the tests and temporarily comment out those tests relying on subtyping
Diffstat (limited to 'test/passes/simplify-locals_all-features_disable-exception-handling.wast')
-rw-r--r--test/passes/simplify-locals_all-features_disable-exception-handling.wast33
1 files changed, 17 insertions, 16 deletions
diff --git a/test/passes/simplify-locals_all-features_disable-exception-handling.wast b/test/passes/simplify-locals_all-features_disable-exception-handling.wast
index a819dda15..c0f279cd0 100644
--- a/test/passes/simplify-locals_all-features_disable-exception-handling.wast
+++ b/test/passes/simplify-locals_all-features_disable-exception-handling.wast
@@ -1655,19 +1655,20 @@
)
)
)
-(module
- (func $subtype-test (result funcref)
- (local $0 nullref)
- (local $1 funcref)
- (local $2 funcref)
- (block
- (local.set $1
- (local.get $0)
- )
- )
- (local.set $2
- (local.get $1)
- )
- (local.get $1)
- )
-)
+;; TODO (GC)
+;; (module
+;; (func $subtype-test (result anyref)
+;; (local $0 funcref)
+;; (local $1 anyref)
+;; (local $2 anyref)
+;; (block
+;; (local.set $1
+;; (local.get $0)
+;; )
+;; )
+;; (local.set $2
+;; (local.get $1)
+;; )
+;; (local.get $1)
+;; )
+;; )