Minor optimization of lookup tracker records

This commit is contained in:
Alexander Udalov
2016-04-26 19:50:45 +03:00
parent 785877d1de
commit d85884426e
10 changed files with 71 additions and 33 deletions
@@ -77,7 +77,7 @@ class CompilerCallbackServicesFacadeServer(
}
}
private val lookupTracker_isDoNothing: Boolean = incrementalCompilationComponents != null && incrementalCompilationComponents.getLookupTracker() == LookupTracker.DO_NOTHING
private val lookupTracker_isDoNothing: Boolean = incrementalCompilationComponents?.getLookupTracker() === LookupTracker.DO_NOTHING
override fun lookupTracker_isDoNothing(): Boolean = lookupTracker_isDoNothing