diff options
author | Thomas Lively <tlively@google.com> | 2023-09-13 20:02:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-13 20:02:26 -0700 |
commit | 2cbe448eb4df17010f0e5f360a8e705da710f3e0 (patch) | |
tree | b0967cb40dd4dbb2d209afb66cdf58c8af498cf9 /test/reference-types.wast.fromBinary | |
parent | 9d79632c210a8c5002657ae87ff06c70ee109e8f (diff) | |
download | binaryen-2cbe448eb4df17010f0e5f360a8e705da710f3e0.tar.gz binaryen-2cbe448eb4df17010f0e5f360a8e705da710f3e0.tar.bz2 binaryen-2cbe448eb4df17010f0e5f360a8e705da710f3e0.zip |
Replace i31.new with ref.i31 everywhere (#5931)
Replace i31.new with ref.i31 in the printer, tests, and source code. Continue
parsing i31.new for the time being to allow a graceful transition. Also update
the JS API to reflect the new instruction name.
Diffstat (limited to 'test/reference-types.wast.fromBinary')
-rw-r--r-- | test/reference-types.wast.fromBinary | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/reference-types.wast.fromBinary b/test/reference-types.wast.fromBinary index 637a1d2c9..0ce71eb38 100644 --- a/test/reference-types.wast.fromBinary +++ b/test/reference-types.wast.fromBinary @@ -405,7 +405,7 @@ (drop (if (result anyref) (i32.const 1) - (i31.new + (ref.i31 (i32.const 0) ) (ref.null none) @@ -487,7 +487,7 @@ (drop (select (result anyref) (local.get $local_eqref) - (i31.new + (ref.i31 (i32.const 0) ) (i32.const 1) |