Remove old IC: remove unnecessary caches

This commit is contained in:
Alexey Tsvetkov
2017-05-02 12:59:28 +03:00
parent aea5293288
commit 62fdd91947
8 changed files with 1 additions and 122 deletions
@@ -106,9 +106,6 @@ open class IncrementalCacheImpl<Target>(
result
}
override fun registerInline(fromPath: String, jvmSignature: String, toPath: String) {
}
protected open fun debugLog(message: String) {}
fun addDependentCache(cache: IncrementalCacheImpl<Target>) {
@@ -747,7 +744,6 @@ open class IncrementalCacheImpl<Target>(
emptySequence<ChangeInfo>()
}
processChangedInlineFunctions(className, changed)
return CompilationResult(changes = changes)
}
@@ -758,12 +754,6 @@ open class IncrementalCacheImpl<Target>(
override fun dumpValue(value: Map<String, Long>): String =
value.dumpMap { java.lang.Long.toHexString(it) }
}
protected open fun processChangedInlineFunctions(
className: JvmClassName,
changedFunctions: Collection<String>
) {
}
}
private object PathCollectionExternalizer : CollectionExternalizer<String>(PathStringDescriptor, { THashSet(FileUtil.PATH_HASHING_STRATEGY) })