// and we're done,
if (!OptimiserOptions.annotatingLibrary) {
OptimisationPhaseManager.register(new FinalFolder(), AFTER_DESUGAR);
OptimisationPhaseManager.register(new ConstFold(), AFTER_DESUGAR);
OptimisationPhaseManager.register(new ShortFunc(), AFTER_DESUGAR);
OptimisationPhaseManager.register(new Unbox(), AFTER_DESUGAR);
// TODO: Repair and re-enable this.
// OptimisationPhaseManager.register(new AssignmentStrip(), AFTER_DESUGAR);
OptimisationPhaseManager.register(new LoopInvar(), AFTER_DESUGAR);
OptimisationPhaseManager.register(new Unroll(), AFTER_DESUGAR);