1
0
mirror of https://github.com/KarolS/millfork.git synced 2025-01-21 01:32:00 +00:00

Minor fix to a debug log message

This commit is contained in:
Karol Stasiak 2019-05-31 14:29:20 +02:00
parent e06d3bf081
commit 0f52efbe20

View File

@ -113,7 +113,7 @@ abstract class Deduplicate[T <: AbstractCode](env: Environment, options: Compila
val toRemove = allAffectedFunctions.map(_ -> mutable.Set[Int]()).toMap
val toReplace = allAffectedFunctions.map(_ -> mutable.Map[Int, String]()).toMap
if (options.log.traceEnabled){
options.log.debug(s"Extracted ${best._2.size} common code subroutines from ${allAffectedFunctions.size} functions, saving $best._1 bytes")
options.log.debug(s"Extracted ${best._2.size} common code subroutines from ${allAffectedFunctions.size} functions, saving ${best._1} bytes")
}
for((code, instances) <- best._2) {
val newName = env.nextLabel("xc")