Infer u32 from 32-bit integer literals if MSB is set

This commit is contained in:
dcodeIO
2018-06-21 22:47:37 +02:00
parent c74eed2bd8
commit 525795b354
12 changed files with 101 additions and 27 deletions

View File

@@ -84,9 +84,7 @@
)
(i32.and
(get_local $0)
(i32.wrap/i64
(i64.const 4294901760)
)
(i32.const -65536)
)
)
)
@@ -224,9 +222,7 @@
)
(i32.and
(get_local $0)
(i32.wrap/i64
(i64.const 4294901760)
)
(i32.const -65536)
)
)
)