summaryrefslogtreecommitdiff
path: root/test/binaryen.js/sieve.js.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/binaryen.js/sieve.js.txt')
-rw-r--r--test/binaryen.js/sieve.js.txt32
1 files changed, 16 insertions, 16 deletions
diff --git a/test/binaryen.js/sieve.js.txt b/test/binaryen.js/sieve.js.txt
index 97816e6b3..2d9fc8ef2 100644
--- a/test/binaryen.js/sieve.js.txt
+++ b/test/binaryen.js/sieve.js.txt
@@ -10,14 +10,14 @@
(current_memory)
(i32.const 65536)
)
- (get_local $0)
+ (local.get $0)
)
(drop
(grow_memory
(i32.sub
(i32.div_u
(i32.add
- (get_local $0)
+ (local.get $0)
(i32.const 65535)
)
(i32.const 65536)
@@ -27,29 +27,29 @@
)
)
)
- (set_local $1
+ (local.set $1
(i32.const 0)
)
(loop $clear
(i32.store8
- (get_local $1)
+ (local.get $1)
(i32.const 0)
)
- (set_local $1
+ (local.set $1
(i32.add
- (get_local $1)
+ (local.get $1)
(i32.const 1)
)
)
(br_if $clear
(i32.eq
- (get_local $1)
- (get_local $0)
+ (local.get $1)
+ (local.get $0)
)
)
)
(return
- (get_local $0)
+ (local.get $0)
)
)
)
@@ -68,14 +68,14 @@ optimized:
(current_memory)
(i32.const 16)
)
- (get_local $0)
+ (local.get $0)
)
(drop
(grow_memory
(i32.sub
(i32.div_u
(i32.add
- (get_local $0)
+ (local.get $0)
(i32.const 65535)
)
(i32.const 65536)
@@ -87,22 +87,22 @@ optimized:
)
(loop $clear
(i32.store8
- (get_local $1)
+ (local.get $1)
(i32.const 0)
)
(br_if $clear
(i32.eq
- (tee_local $1
+ (local.tee $1
(i32.add
- (get_local $1)
+ (local.get $1)
(i32.const 1)
)
)
- (get_local $0)
+ (local.get $0)
)
)
)
- (get_local $0)
+ (local.get $0)
)
)