summaryrefslogtreecommitdiff
path: root/test/passes/precompute_all-features.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/precompute_all-features.wast')
-rw-r--r--test/passes/precompute_all-features.wast8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/passes/precompute_all-features.wast b/test/passes/precompute_all-features.wast
index ca4aa1cbb..cef6d4cc8 100644
--- a/test/passes/precompute_all-features.wast
+++ b/test/passes/precompute_all-features.wast
@@ -50,13 +50,13 @@
)
(tuple.drop 2
(tuple.make 2
- (tuple.extract 0
+ (tuple.extract 2 0
(tuple.make 2
(i32.const 42)
(i32.const 0)
)
)
- (tuple.extract 1
+ (tuple.extract 2 1
(tuple.make 2
(i64.const 0)
(i64.const 42)
@@ -355,13 +355,13 @@
)
(func $tuple-precompute (result i32 i64)
(tuple.make 2
- (tuple.extract 0
+ (tuple.extract 2 0
(tuple.make 2
(i32.const 42)
(i32.const 0)
)
)
- (tuple.extract 1
+ (tuple.extract 2 1
(tuple.make 2
(i64.const 0)
(i64.const 42)