mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Remove duplicate check for '|'
Removed the 'if' and applied an indentation change; no further changes are done.
This commit is contained in:
parent
be767f24f0
commit
2bee2db148
1 changed files with 39 additions and 40 deletions
|
@ -348,7 +348,6 @@ class foldconst(object):
|
|||
del val1, val2
|
||||
del a, b, c, d, and1, and2
|
||||
|
||||
if nt == '|':
|
||||
# Absorb further flags, to allow chaining of &&
|
||||
# If ~r and s are constants, and s is a power of two:
|
||||
# (!~(x|~r) && x&s) -> !~(x|(~r&~s))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue