Make the second pass of FoldScript look a bit more logic.

This commit is contained in:
Sei Lisa 2015-03-28 20:14:17 +01:00
parent 2a617b34d0
commit 6813bb0458

View file

@ -89,7 +89,7 @@ class optimizer(foldconst, renamer, deadcode):
# Make another fold pass, since RemoveDeadCode can embed expressions
# into other expressions and generate unoptimized code.
if self.constfold and self.dcr:
if self.constfold:
self.FoldScript(warningpass=True)
if self.shrinknames: