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:
commit
bd8078cc47
@ -280,7 +280,6 @@ abstract class AbstractAssembler[T <: AbstractCode](private val program: Program
|
|||||||
gatherFunctionOptimizationHints(options, niceFunctionProperties, function)
|
gatherFunctionOptimizationHints(options, niceFunctionProperties, function)
|
||||||
case _ =>
|
case _ =>
|
||||||
}
|
}
|
||||||
println(niceFunctionProperties)
|
|
||||||
val aliases = env.getAliases
|
val aliases = env.getAliases
|
||||||
recommendedCompilationOrder.foreach { f =>
|
recommendedCompilationOrder.foreach { f =>
|
||||||
if (!env.isAlias(f)) env.maybeGet[NormalFunction](f).foreach { function =>
|
if (!env.isAlias(f)) env.maybeGet[NormalFunction](f).foreach { function =>
|
||||||
|
@ -251,8 +251,6 @@ class MosAssembler(program: Program,
|
|||||||
import MosNiceFunctionProperty._
|
import MosNiceFunctionProperty._
|
||||||
import NiceFunctionProperty._
|
import NiceFunctionProperty._
|
||||||
val functionName = function.name
|
val functionName = function.name
|
||||||
println(functionName)
|
|
||||||
println(function.optimizationHints)
|
|
||||||
if (function.optimizationHints("even")) niceFunctionProperties += Bit0OfA(false) -> functionName
|
if (function.optimizationHints("even")) niceFunctionProperties += Bit0OfA(false) -> functionName
|
||||||
if (function.optimizationHints("odd")) niceFunctionProperties += Bit0OfA(true) -> functionName
|
if (function.optimizationHints("odd")) niceFunctionProperties += Bit0OfA(true) -> functionName
|
||||||
if (function.optimizationHints("preserves_a")) niceFunctionProperties += DoesntChangeA -> functionName
|
if (function.optimizationHints("preserves_a")) niceFunctionProperties += DoesntChangeA -> functionName
|
||||||
|
Loading…
Reference in New Issue
Block a user