Get verbose key other way
This commit is contained in:
committed by
Pavel Punegov
parent
17ead04c00
commit
0fc1fb27e1
+3
-5
@@ -58,11 +58,9 @@ object TopDownAnalyzerFacadeForKonan {
|
|||||||
): AnalysisResult {
|
): AnalysisResult {
|
||||||
|
|
||||||
// we print out each file we compile if frontend phase is verbose
|
// we print out each file we compile if frontend phase is verbose
|
||||||
files.takeIf {
|
files.takeIf { with (KonanPhases) {
|
||||||
config.configuration.get(KonanConfigKeys.VERBOSE_PHASES)
|
phases[known(KonanPhase.FRONTEND.visibleName)]!!.verbose
|
||||||
?.contains(KonanPhase.FRONTEND.visibleName)
|
}} ?.forEach(::println)
|
||||||
?: false
|
|
||||||
} ?.forEach(::println)
|
|
||||||
|
|
||||||
val analyzerForKonan = createTopDownAnalyzerForKonan(
|
val analyzerForKonan = createTopDownAnalyzerForKonan(
|
||||||
moduleContext, trace,
|
moduleContext, trace,
|
||||||
|
|||||||
Reference in New Issue
Block a user