Make TailrecLowering public
This commit is contained in:
committed by
Svyatoslav Scherbina
parent
6b686735ee
commit
890ccd96f0
+1
-1
@@ -35,7 +35,7 @@ import org.jetbrains.kotlin.ir.visitors.transformChildrenVoid
|
|||||||
* Note: it currently can't handle local functions and classes declared in default arguments.
|
* Note: it currently can't handle local functions and classes declared in default arguments.
|
||||||
* See [deepCopyWithVariables].
|
* See [deepCopyWithVariables].
|
||||||
*/
|
*/
|
||||||
internal class TailrecLowering(val context: BackendContext) : FunctionLoweringPass {
|
class TailrecLowering(val context: BackendContext) : FunctionLoweringPass {
|
||||||
override fun lower(irFunction: IrFunction) {
|
override fun lower(irFunction: IrFunction) {
|
||||||
lowerTailRecursionCalls(context, irFunction)
|
lowerTailRecursionCalls(context, irFunction)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user