summaryrefslogtreecommitdiff
path: root/test/heap-types.wast.fromBinary
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-02-26 00:08:10 +0000
committerGitHub <noreply@github.com>2021-02-25 16:08:10 -0800
commit142d5f32ce792327de62b62f09f25528dcd86950 (patch)
treee0459bb2a2ec3a9599f1d1dca94c702800f45eba /test/heap-types.wast.fromBinary
parent2572bbcd975c3bb7f99112ced7fe437e7a88eec0 (diff)
downloadbinaryen-142d5f32ce792327de62b62f09f25528dcd86950.tar.gz
binaryen-142d5f32ce792327de62b62f09f25528dcd86950.tar.bz2
binaryen-142d5f32ce792327de62b62f09f25528dcd86950.zip
[Wasm GC] Fix the order of operands in array.new and struct.new (#3617)
Also add a missing source file for a GC test, let.wasm.
Diffstat (limited to 'test/heap-types.wast.fromBinary')
-rw-r--r--test/heap-types.wast.fromBinary8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/heap-types.wast.fromBinary b/test/heap-types.wast.fromBinary
index 78e01e494..75dcae823 100644
--- a/test/heap-types.wast.fromBinary
+++ b/test/heap-types.wast.fromBinary
@@ -99,10 +99,10 @@
)
(drop
(struct.new_with_rtt $struct.A
- (rtt.canon $struct.A)
(i32.const 1)
(f32.const 2.3450000286102295)
(f64.const 3.14159)
+ (rtt.canon $struct.A)
)
)
(unreachable)
@@ -114,15 +114,15 @@
(local $tw (ref null $vector))
(drop
(array.new_with_rtt $vector
- (rtt.canon $vector)
- (i32.const 3)
(f64.const 3.14159)
+ (i32.const 3)
+ (rtt.canon $vector)
)
)
(drop
(array.new_default_with_rtt $matrix
- (rtt.canon $matrix)
(i32.const 10)
+ (rtt.canon $matrix)
)
)
(drop