[kotlin compiler][update] 1.3.30-dev-964

This commit is contained in:
Vasily Levchenko
2019-01-15 18:19:47 +03:00
parent cfcfecf19e
commit 4a8faa6961
5 changed files with 7 additions and 7 deletions
@@ -71,7 +71,7 @@ internal class DeepCopyIrTreeWithSymbolsForInliner(val context: Context,
}
override fun visitField(declaration: IrField) {
(declaration.descriptor as WrappedFieldDescriptor).bind(declaration)
(declaration.descriptor as? WrappedFieldDescriptor)?.bind(declaration)
declaration.acceptChildrenVoid(this)
}
@@ -947,7 +947,7 @@ internal object DFGSerializer {
val publicFunctionsMap = mutableMapOf<Long, DataFlowIR.FunctionSymbol.Public>()
val functions = mutableMapOf<DataFlowIR.FunctionSymbol, DataFlowIR.Function>()
val specifics = context.config.configuration.get(CommonConfigurationKeys.LANGUAGE_VERSION_SETTINGS)!!
val storageManager = LockBasedStorageManager()
val storageManager = LockBasedStorageManager("deserializer-$startPrivateTypeIndex-$startPrivateFunIndex")
context.librariesWithDependencies.forEach { library ->
val libraryDataFlowGraph = library.dataFlowGraph
@@ -109,7 +109,7 @@ internal class KonanDeserializedModuleDescriptorFactoryImpl(
NullFlexibleTypeDeserializer,
emptyList(),
notFoundClasses,
ContractDeserializerImpl(configuration),
ContractDeserializerImpl(configuration, storageManager),
extensionRegistryLite = KonanSerializerProtocol.extensionRegistry)
for (packageFragment in deserializedPackageFragments) {
+3 -3
View File
@@ -18,9 +18,9 @@
buildKotlinVersion=1.3.0-rc-116
buildKotlinCompilerRepo=https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:(id:Kotlin_130_CompilerAllPlugins),number:1.3.0-rc-116,tag:kotlin-native,pinned:true/artifacts/content/maven
remoteRoot=konan_tests
kotlinCompilerRepo=https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:(id:Kotlin_dev_CompilerAllPlugins),number:1.3.30-dev-761,pinned:true/artifacts/content/maven
kotlinVersion=1.3.30-dev-761
testKotlinVersion=1.3.30-dev-761
kotlinCompilerRepo=https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:(id:Kotlin_dev_CompilerAllPlugins),number:1.3.30-dev-964,pinned:true/artifacts/content/maven
kotlinVersion=1.3.30-dev-964
testKotlinVersion=1.3.30-dev-964
konanVersion=1.2.0
org.gradle.jvmargs='-Dfile.encoding=UTF-8'
org.gradle.workers.max=4
@@ -143,7 +143,7 @@ class Library(val name: String, val requestedRepository: String?, val target: St
fun contents(output: Appendable = out) {
val storageManager = LockBasedStorageManager()
val storageManager = LockBasedStorageManager("klib")
val library = libraryInRepoOrCurrentDir(repository, name)
val versionSpec = LanguageVersionSettingsImpl(currentLanguageVersion, currentApiVersion)
val module = DefaultDeserializedDescriptorFactory.createDescriptorAndNewBuiltIns(library, versionSpec, storageManager)