mirror of
https://github.com/KarolS/millfork.git
synced 2025-08-07 12:25:40 +00:00
Actually enable code decuplication
This commit is contained in:
@@ -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(" "))
|
||||||
|
Reference in New Issue
Block a user