Compiler pass to fold constants in both primitives and if operations. Tracks immutable literal bindings and then uses them to feed a large set of functions that run operations at compile time on values of these literals and produce new literal bindings as a result or in partial folding cases simplifications.
Compiler pass to fold constants in both primitives and if operations. Tracks immutable literal bindings and then uses them to feed a large set of functions that run operations at compile time on values of these literals and produce new literal bindings as a result or in partial folding cases simplifications.