mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 09:01:35 +01:00
cgen: drop redundant "& mask" in "(x & mask) as T"
This commit is contained in:
1 parent
145ff0ce64
commit
02a6a13236
3 files changed
+129
-98
No files matched your search
@@ -42,6 +42,10 @@ var (
|
||||
|
||||
maxInt64 = big.NewInt((1 << 63) - 1)
|
||||
|
||||
maxUint8 = big.NewInt((1 << 8) - 1)
|
||||
maxUint16 = big.NewInt((1 << 16) - 1)
|
||||
maxUint32 = big.NewInt((1 << 32) - 1)
|
||||
|
||||
typeExprARMCRC32U32 = a.NewTypeExpr(0, t.IDBase, t.IDARMCRC32U32, nil, nil, nil)
|
||||
typeExprPixelSwizzler = a.NewTypeExpr(0, t.IDBase, t.IDPixelSwizzler, nil, nil, nil)
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user