1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-12-24 15:29:23 +00:00

Merge pull request #90 from agg23/agg23/RemovedOptimizationHintPrint

Removed optimization hint debug println statements
This commit is contained in:
Karol Stasiak 2021-01-02 01:06:31 +01:00 committed by GitHub
commit bd8078cc47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 3 deletions

View File

@ -280,7 +280,6 @@ abstract class AbstractAssembler[T <: AbstractCode](private val program: Program
gatherFunctionOptimizationHints(options, niceFunctionProperties, function)
case _ =>
}
println(niceFunctionProperties)
val aliases = env.getAliases
recommendedCompilationOrder.foreach { f =>
if (!env.isAlias(f)) env.maybeGet[NormalFunction](f).foreach { function =>

View File

@ -251,8 +251,6 @@ class MosAssembler(program: Program,
import MosNiceFunctionProperty._
import NiceFunctionProperty._
val functionName = function.name
println(functionName)
println(function.optimizationHints)
if (function.optimizationHints("even")) niceFunctionProperties += Bit0OfA(false) -> functionName
if (function.optimizationHints("odd")) niceFunctionProperties += Bit0OfA(true) -> functionName
if (function.optimizationHints("preserves_a")) niceFunctionProperties += DoesntChangeA -> functionName