You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there is constant folding logic spread around the whole compiler. The parser does constand folding for .. operators and the code generator does some constant folding in the parameters of numeric for loops.
Perhaps these would belong together in a separate constant folding subroutine?
The text was updated successfully, but these errors were encountered:
hugomg
changed the title
Should we move our constant folding optimizations to a single place in the code
Should we move our constant folding optimizations to a single place in the code?
Dec 4, 2017
Currently, there is constant folding logic spread around the whole compiler. The parser does constand folding for
..
operators and the code generator does some constant folding in the parameters of numeric for loops.Perhaps these would belong together in a separate constant folding subroutine?
The text was updated successfully, but these errors were encountered: