mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-31 22:22:13 +00:00
Infer u32 from 32-bit integer literals if MSB is set
This commit is contained in:
@@ -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)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user