Turned off devirtualization & dce w/o -opt key

This commit is contained in:
Igor Chevdar
2019-07-01 13:41:58 +03:00
parent 3e31fdf3b9
commit 360dc2c9b4
@@ -344,5 +344,8 @@ internal fun PhaseConfig.konanPhasesConfig(config: KonanConfig) {
switch(bitcodePhase, config.produce != CompilerOutputKind.LIBRARY)
switch(linkPhase, config.produce.isNativeBinary)
switch(testProcessorPhase, getNotNull(KonanConfigKeys.GENERATE_TEST_RUNNER) != TestRunnerKind.NONE)
switch(buildDFGPhase, config.configuration.getBoolean(KonanConfigKeys.OPTIMIZATION))
switch(devirtualizationPhase, config.configuration.getBoolean(KonanConfigKeys.OPTIMIZATION))
switch(dcePhase, config.configuration.getBoolean(KonanConfigKeys.OPTIMIZATION))
}
}