apply<VariableResolver>(stage);
apply<VariableRenamer>(stage);
apply<LegacyConverter>(stage);
- apply<VariableResolver>(stage);
}
bool ProgramCompiler::optimize(Stage &stage)
{
apply<ConstantConditionEliminator>(stage);
- apply<VariableResolver>(stage);
set<Node *> unused = apply<UnusedVariableLocator>(stage);
set<Node *> unused2 = apply<UnusedFunctionLocator>(stage);