Add shortcuts for native operations

This commit is contained in:
Rerumu
2022-05-21 04:11:04 -04:00
parent c3a3a09107
commit ce54d834a5
4 changed files with 21 additions and 20 deletions
-3
View File
@@ -180,16 +180,13 @@ do
local bxor = {}
local bnot = {}
band.i32 = bit32.band
band.i64 = I64.bit_and
bnot.i32 = bit32.bnot
bnot.i64 = I64.bit_not
bor.i32 = bit32.bor
bor.i64 = I64.bit_or
bxor.i32 = bit32.bxor
bxor.i64 = I64.bit_xor
module.band = band