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.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/binaryen.js/sieve.js.txt b/test/binaryen.js/sieve.js.txt
index 2d9fc8ef2..888b6b06d 100644
--- a/test/binaryen.js/sieve.js.txt
+++ b/test/binaryen.js/sieve.js.txt
@@ -7,13 +7,13 @@
(if
(i32.lt_u
(i32.mul
- (current_memory)
+ (memory.size)
(i32.const 65536)
)
(local.get $0)
)
(drop
- (grow_memory
+ (memory.grow
(i32.sub
(i32.div_u
(i32.add
@@ -22,7 +22,7 @@
)
(i32.const 65536)
)
- (current_memory)
+ (memory.size)
)
)
)
@@ -65,13 +65,13 @@ optimized:
(if
(i32.lt_u
(i32.shl
- (current_memory)
+ (memory.size)
(i32.const 16)
)
(local.get $0)
)
(drop
- (grow_memory
+ (memory.grow
(i32.sub
(i32.div_u
(i32.add
@@ -80,7 +80,7 @@ optimized:
)
(i32.const 65536)
)
- (current_memory)
+ (memory.size)
)
)
)