summaryrefslogtreecommitdiff
path: root/test/passes/simplify-locals_all-features_disable-exception-handling.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/simplify-locals_all-features_disable-exception-handling.txt')
-rw-r--r--test/passes/simplify-locals_all-features_disable-exception-handling.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/passes/simplify-locals_all-features_disable-exception-handling.txt b/test/passes/simplify-locals_all-features_disable-exception-handling.txt
index 7be68af6d..0d035234b 100644
--- a/test/passes/simplify-locals_all-features_disable-exception-handling.txt
+++ b/test/passes/simplify-locals_all-features_disable-exception-handling.txt
@@ -1831,13 +1831,15 @@
)
(func $data-drop-load
(local $x i32)
- (nop)
- (data.drop 0)
- (drop
+ (local.set $x
(i32.load
(i32.const 0)
)
)
+ (data.drop 0)
+ (drop
+ (local.get $x)
+ )
)
(func $data-drop-store
(local $x i32)