summaryrefslogtreecommitdiff
path: root/test/debugInfo.fromasm.imprecise
diff options
context:
space:
mode:
Diffstat (limited to 'test/debugInfo.fromasm.imprecise')
-rw-r--r--test/debugInfo.fromasm.imprecise35
1 files changed, 20 insertions, 15 deletions
diff --git a/test/debugInfo.fromasm.imprecise b/test/debugInfo.fromasm.imprecise
index e75f6c668..9cad26249 100644
--- a/test/debugInfo.fromasm.imprecise
+++ b/test/debugInfo.fromasm.imprecise
@@ -55,22 +55,27 @@
(local $2 i32)
(local $3 i32)
(local $4 i32)
- (if
- ;;@ fib.c:3:0
- (i32.gt_s
- (get_local $0)
- (i32.const 0)
- )
- (set_local $3
- (i32.const 1)
- )
- (block
- (set_local $1
- (i32.const 1)
+ (set_local $4
+ (if (result i32)
+ ;;@ fib.c:3:0
+ (i32.gt_s
+ (get_local $0)
+ (i32.const 0)
)
- ;;@ fib.c:8:0
- (return
- (get_local $1)
+ (block (result i32)
+ (set_local $3
+ (i32.const 1)
+ )
+ (i32.const 0)
+ )
+ (block
+ (set_local $1
+ (i32.const 1)
+ )
+ ;;@ fib.c:8:0
+ (return
+ (get_local $1)
+ )
)
)
)