[IR] Commonized SAM equals/hashCode builder

This commit is contained in:
Igor Chevdar
2020-08-22 11:13:33 +05:00
parent 12ddd137bc
commit ab54e43b00
8 changed files with 125 additions and 123 deletions
@@ -215,6 +215,9 @@ class JsIrBackendContext(
override val coroutineGetContext = symbolTable.referenceSimpleFunction(getJsInternalFunction(GET_COROUTINE_CONTEXT_NAME))
override val returnIfSuspended = symbolTable.referenceSimpleFunction(getJsInternalFunction("returnIfSuspended"))
override val functionAdapter: IrClassSymbol
get() = TODO("Not implemented")
}
override fun unfoldInlineClassType(irType: IrType): IrType? {
@@ -28,6 +28,8 @@ class JsSingleAbstractMethodLowering(context: JsIrBackendContext) : SingleAbstra
return Visibilities.PRIVATE
}
override val IrType.needEqualsHashCodeMethods get() = false
private var enclosingBodyContainer: IrDeclaration? = null
override fun lower(irFile: IrFile) {