[JS IR] Clean up Declaration Table code

This commit is contained in:
Roman Artemev
2019-08-08 14:10:12 +03:00
committed by romanart
parent f14107bf65
commit 96a2cc1f17
2 changed files with 1 additions and 1 deletions
@@ -26,7 +26,6 @@ abstract class DeclarationTable(val builtIns: IrBuiltIns, val descriptorTable: D
private val table = mutableMapOf<IrDeclaration, UniqId>()
val descriptors = descriptorTable
protected abstract var currentIndex: Long
protected abstract val initialIndex: Long
open fun loadKnownBuiltins(): Long {
builtIns.knownBuiltins.forEach {
@@ -15,5 +15,6 @@ class JsDeclarationTable(builtIns: IrBuiltIns, descriptorTable: DescriptorTable)
init {
loadKnownBuiltins()
currentIndex = 0
}
}