constant folding for cnst[i] and cnst.attr
This commit is contained in:
parent
22115a2c6a
commit
299390a585
5 changed files with 78 additions and 49 deletions
|
|
@ -281,7 +281,9 @@ type
|
|||
nfBase2, # nfBase10 is default, so not needed
|
||||
nfBase8,
|
||||
nfBase16,
|
||||
nfAllConst, # used to mark complex expressions constant
|
||||
nfAllConst, # used to mark complex expressions constant; easy to get rid of
|
||||
# but unfortunately it has measurable impact for compilation
|
||||
# efficiency
|
||||
nfTransf, # node has been transformed
|
||||
nfSem # node has been checked for semantics
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue