Example #1
0
def optimize(program):
	programPartialEvaluation.run(program)

	constFlattener.optimize(program)
	unusedVariableRemover.clean(program)
	unreachableCodeRemover.clean(program)

	getFunctionTemporaries.addAnnotationsTo(program)
Example #2
0
def correct(program):
	variableUnproxyer.clean(program)
	getFunctionTemporaries.addAnnotationsTo(program)