dmd.optimize

Perform constant folding.

Members

Functions

Expression_optimize
Expression Expression_optimize(Expression e, int result, bool keepLvalue)

Constant fold an Expression.

expandVar
Expression expandVar(int result, VarDeclaration v)

If variable has a const initializer, return that initializer.

Meta