Delete unused properties

This commit is contained in:
Mikhael Bogdanov
2018-08-01 08:36:40 +02:00
parent b27177b7ee
commit bf60835975
2 changed files with 1 additions and 13 deletions
@@ -11,9 +11,6 @@ import org.jetbrains.kotlin.ir.util.*
class IrLazySymbolTable(private val originalTable: SymbolTable) : ReferenceSymbolTable by originalTable {
override val declarationSystemTable: SymbolTable = originalTable
override val referenceSymbolTable: ReferenceSymbolTable = this
/*Don't force builtins class linking before unbound symbols linking: otherwise stdlib compilation will failed*/
var stubGenerator: DeclarationStubGenerator? = null
@@ -17,7 +17,6 @@
package org.jetbrains.kotlin.ir.util
import org.jetbrains.kotlin.descriptors.*
import org.jetbrains.kotlin.ir.SourceManager
import org.jetbrains.kotlin.ir.declarations.*
import org.jetbrains.kotlin.ir.declarations.impl.*
import org.jetbrains.kotlin.ir.declarations.lazy.IrLazySymbolTable
@@ -42,10 +41,6 @@ interface ReferenceSymbolTable {
fun referenceTypeParameter(classifier: TypeParameterDescriptor): IrTypeParameterSymbol
fun referenceVariable(descriptor: VariableDescriptor): IrVariableSymbol
val declarationSystemTable: SymbolTable
val referenceSymbolTable: ReferenceSymbolTable
fun enterScope(owner: DeclarationDescriptor)
fun leaveScope(owner: DeclarationDescriptor)
@@ -53,11 +48,7 @@ interface ReferenceSymbolTable {
open class SymbolTable : ReferenceSymbolTable {
override val declarationSystemTable: SymbolTable = this
override val referenceSymbolTable: ReferenceSymbolTable = IrLazySymbolTable(this)
val lazyWrapper = referenceSymbolTable as IrLazySymbolTable
val lazyWrapper = IrLazySymbolTable(this)
private abstract class SymbolTableBase<D : DeclarationDescriptor, B : IrSymbolOwner, S : IrBindableSymbol<D, B>> {
val unboundSymbols = linkedSetOf<S>()