Remove duplicate check for '|'
Removed the 'if' and applied an indentation change; no further changes are done.
This commit is contained in:
@@ -348,7 +348,6 @@ class foldconst(object):
|
|||||||
del val1, val2
|
del val1, val2
|
||||||
del a, b, c, d, and1, and2
|
del a, b, c, d, and1, and2
|
||||||
|
|
||||||
if nt == '|':
|
|
||||||
# Absorb further flags, to allow chaining of &&
|
# Absorb further flags, to allow chaining of &&
|
||||||
# If ~r and s are constants, and s is a power of two:
|
# If ~r and s are constants, and s is a power of two:
|
||||||
# (!~(x|~r) && x&s) -> !~(x|(~r&~s))
|
# (!~(x|~r) && x&s) -> !~(x|(~r&~s))
|
||||||
|
|||||||
Reference in New Issue
Block a user