summaryrefslogtreecommitdiff
path: root/test/dot_s/debug.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/dot_s/debug.wast')
-rw-r--r--test/dot_s/debug.wast19
1 files changed, 9 insertions, 10 deletions
diff --git a/test/dot_s/debug.wast b/test/dot_s/debug.wast
index 6a7d36eac..b6ffc7f29 100644
--- a/test/dot_s/debug.wast
+++ b/test/dot_s/debug.wast
@@ -64,19 +64,18 @@
)
(func $stackAlloc (; 2 ;) (param $0 i32) (result i32)
(local $1 i32)
- (set_local $1
- (i32.load offset=4
- (i32.const 0)
- )
- )
(i32.store offset=4
(i32.const 0)
- (i32.and
- (i32.sub
- (get_local $1)
- (get_local $0)
+ (tee_local $1
+ (i32.and
+ (i32.sub
+ (i32.load offset=4
+ (i32.const 0)
+ )
+ (get_local $0)
+ )
+ (i32.const -16)
)
- (i32.const -16)
)
)
(get_local $1)