summaryrefslogtreecommitdiff
path: root/test/dot_s/function-data-sections.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/dot_s/function-data-sections.wast')
-rw-r--r--test/dot_s/function-data-sections.wast26
1 files changed, 7 insertions, 19 deletions
diff --git a/test/dot_s/function-data-sections.wast b/test/dot_s/function-data-sections.wast
index 5f31aa3eb..b1d8ec714 100644
--- a/test/dot_s/function-data-sections.wast
+++ b/test/dot_s/function-data-sections.wast
@@ -8,30 +8,18 @@
(export "bar" $bar)
(export "qux" $qux)
(func $foo
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123)
- )
- )
+ (return)
)
(func $bar (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (get_local $$0)
- )
- )
+ (return
+ (get_local $$0)
)
)
(func $qux (param $$0 f64) (param $$1 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.add
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f64.add
+ (get_local $$0)
+ (get_local $$1)
)
)
)