Delete unused properties
This commit is contained in:
@@ -11,9 +11,6 @@ import org.jetbrains.kotlin.ir.util.*
|
|||||||
|
|
||||||
|
|
||||||
class IrLazySymbolTable(private val originalTable: SymbolTable) : ReferenceSymbolTable by originalTable {
|
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*/
|
/*Don't force builtins class linking before unbound symbols linking: otherwise stdlib compilation will failed*/
|
||||||
var stubGenerator: DeclarationStubGenerator? = null
|
var stubGenerator: DeclarationStubGenerator? = null
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
package org.jetbrains.kotlin.ir.util
|
package org.jetbrains.kotlin.ir.util
|
||||||
|
|
||||||
import org.jetbrains.kotlin.descriptors.*
|
import org.jetbrains.kotlin.descriptors.*
|
||||||
import org.jetbrains.kotlin.ir.SourceManager
|
|
||||||
import org.jetbrains.kotlin.ir.declarations.*
|
import org.jetbrains.kotlin.ir.declarations.*
|
||||||
import org.jetbrains.kotlin.ir.declarations.impl.*
|
import org.jetbrains.kotlin.ir.declarations.impl.*
|
||||||
import org.jetbrains.kotlin.ir.declarations.lazy.IrLazySymbolTable
|
import org.jetbrains.kotlin.ir.declarations.lazy.IrLazySymbolTable
|
||||||
@@ -42,10 +41,6 @@ interface ReferenceSymbolTable {
|
|||||||
fun referenceTypeParameter(classifier: TypeParameterDescriptor): IrTypeParameterSymbol
|
fun referenceTypeParameter(classifier: TypeParameterDescriptor): IrTypeParameterSymbol
|
||||||
fun referenceVariable(descriptor: VariableDescriptor): IrVariableSymbol
|
fun referenceVariable(descriptor: VariableDescriptor): IrVariableSymbol
|
||||||
|
|
||||||
|
|
||||||
val declarationSystemTable: SymbolTable
|
|
||||||
val referenceSymbolTable: ReferenceSymbolTable
|
|
||||||
|
|
||||||
fun enterScope(owner: DeclarationDescriptor)
|
fun enterScope(owner: DeclarationDescriptor)
|
||||||
|
|
||||||
fun leaveScope(owner: DeclarationDescriptor)
|
fun leaveScope(owner: DeclarationDescriptor)
|
||||||
@@ -53,11 +48,7 @@ interface ReferenceSymbolTable {
|
|||||||
|
|
||||||
open class SymbolTable : ReferenceSymbolTable {
|
open class SymbolTable : ReferenceSymbolTable {
|
||||||
|
|
||||||
override val declarationSystemTable: SymbolTable = this
|
val lazyWrapper = IrLazySymbolTable(this)
|
||||||
|
|
||||||
override val referenceSymbolTable: ReferenceSymbolTable = IrLazySymbolTable(this)
|
|
||||||
|
|
||||||
val lazyWrapper = referenceSymbolTable as IrLazySymbolTable
|
|
||||||
|
|
||||||
private abstract class SymbolTableBase<D : DeclarationDescriptor, B : IrSymbolOwner, S : IrBindableSymbol<D, B>> {
|
private abstract class SymbolTableBase<D : DeclarationDescriptor, B : IrSymbolOwner, S : IrBindableSymbol<D, B>> {
|
||||||
val unboundSymbols = linkedSetOf<S>()
|
val unboundSymbols = linkedSetOf<S>()
|
||||||
|
|||||||
Reference in New Issue
Block a user