1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-07-05 09:28:54 +00:00

Actually enable code decuplication

This commit is contained in:
Karol Stasiak 2018-08-07 17:28:59 +02:00
parent ff16854a11
commit 60d2cc1959

View File

@ -213,7 +213,7 @@ abstract class AbstractAssembler[T <: AbstractCode](private val program: Program
function.environment.removedThings.foreach(env.removeVariable)
}
}
// deduplicate(options, compiledFunctions)
deduplicate(options, compiledFunctions)
if (log.traceEnabled) {
niceFunctionProperties.toList.groupBy(_._2).mapValues(_.map(_._1).sortBy(_.toString)).toList.sortBy(_._1).foreach{ case (fname, properties) =>
log.trace(fname.padTo(30, ' ') + properties.mkString(" "))