mirror of
https://github.com/KarolS/millfork.git
synced 2024-09-10 11:54:30 +00:00
Actually enable code decuplication
This commit is contained in:
parent
ff16854a11
commit
60d2cc1959
@ -213,7 +213,7 @@ abstract class AbstractAssembler[T <: AbstractCode](private val program: Program
|
|||||||
function.environment.removedThings.foreach(env.removeVariable)
|
function.environment.removedThings.foreach(env.removeVariable)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// deduplicate(options, compiledFunctions)
|
deduplicate(options, compiledFunctions)
|
||||||
if (log.traceEnabled) {
|
if (log.traceEnabled) {
|
||||||
niceFunctionProperties.toList.groupBy(_._2).mapValues(_.map(_._1).sortBy(_.toString)).toList.sortBy(_._1).foreach{ case (fname, properties) =>
|
niceFunctionProperties.toList.groupBy(_._2).mapValues(_.map(_._1).sortBy(_.toString)).toList.sortBy(_._1).foreach{ case (fname, properties) =>
|
||||||
log.trace(fname.padTo(30, ' ') + properties.mkString(" "))
|
log.trace(fname.padTo(30, ' ') + properties.mkString(" "))
|
||||||
|
Loading…
Reference in New Issue
Block a user