summaryrefslogtreecommitdiff
path: root/test/anyref.wast.fromBinary
diff options
context:
space:
mode:
authorJay Phelps <hello@jayphelps.com>2020-06-10 16:34:56 -0400
committerGitHub <noreply@github.com>2020-06-10 13:34:56 -0700
commitf21eb572dd4a30c27dfad813249c3d715b4d1bca (patch)
tree2e1a2d9020a88584625e5c51dc691193037685cf /test/anyref.wast.fromBinary
parent6ec03c5c0c664660a88fdb61ac1d3bd1f8b14771 (diff)
downloadbinaryen-f21eb572dd4a30c27dfad813249c3d715b4d1bca.tar.gz
binaryen-f21eb572dd4a30c27dfad813249c3d715b4d1bca.tar.bz2
binaryen-f21eb572dd4a30c27dfad813249c3d715b4d1bca.zip
Rename anyref to externref to match proposal change (#2900)
anyref future semantics were changed to only represent opaque host values, and thus renamed to externref. [Chromium](https://bugs.chromium.org/p/v8/issues/detail?id=7748#c360) was just updated to today (not yet released). I couldn't find a Mozilla bugzilla ticket mentioning externref so I don't immediately know if they've updated yet. https://github.com/WebAssembly/reference-types/pull/87
Diffstat (limited to 'test/anyref.wast.fromBinary')
-rw-r--r--test/anyref.wast.fromBinary20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/anyref.wast.fromBinary b/test/anyref.wast.fromBinary
deleted file mode 100644
index 374a308e7..000000000
--- a/test/anyref.wast.fromBinary
+++ /dev/null
@@ -1,20 +0,0 @@
-(module
- (type $anyref_=>_anyref (func (param anyref) (result anyref)))
- (import "env" "test2" (global $gimport$1 anyref))
- (import "env" "test1" (func $test1 (param anyref) (result anyref)))
- (memory $0 1 1)
- (export "test1" (func $test1))
- (export "test2" (global $gimport$1))
- (func $anyref_test (; 1 ;) (param $0 anyref) (result anyref)
- (local $1 anyref)
- (local.set $1
- (call $test1
- (local.get $0)
- )
- )
- (return
- (local.get $1)
- )
- )
-)
-