summaryrefslogtreecommitdiff
path: root/test/memorygrowth.fromasm
diff options
context:
space:
mode:
Diffstat (limited to 'test/memorygrowth.fromasm')
-rw-r--r--test/memorygrowth.fromasm21
1 files changed, 6 insertions, 15 deletions
diff --git a/test/memorygrowth.fromasm b/test/memorygrowth.fromasm
index ef7dc1a78..4a3a60955 100644
--- a/test/memorygrowth.fromasm
+++ b/test/memorygrowth.fromasm
@@ -8474,15 +8474,9 @@
)
)
(if
- (i32.shr_s
- (i32.shl
- (i32.and
- (get_local $1)
- (i32.const 255)
- )
- (i32.const 24)
- )
- (i32.const 24)
+ (i32.and
+ (get_local $1)
+ (i32.const 255)
)
(block
(set_local $1
@@ -9752,12 +9746,9 @@
(func $kb (param $0 i32) (param $1 i32) (result i32)
(call_indirect $FUNCSIG$ii
(get_local $1)
- (i32.add
- (i32.and
- (get_local $0)
- (i32.const 1)
- )
- (i32.const 0)
+ (i32.and
+ (get_local $0)
+ (i32.const 1)
)
)
)