Structs

  • Optimizes nodes which are const-evaluatable. This optimizer tracks all const assignments to variables in a given function and replaces reads from const variables by their const value. Also contains functionality to evaluate BinaryOperation and Condition. In order to be more efficient, this optimizer optimizes an entire function. This means that the current state must always be synced correctly!