IR to CFG: type operator unrolling

This commit is contained in:
Mikhail Glukhikh
2016-09-23 17:30:58 +03:00
committed by Dmitry Petrov
parent ea13386d0b
commit 07eae1d206
2 changed files with 13 additions and 1 deletions
@@ -200,6 +200,14 @@ class FunctionGenerator(val function: IrFunction) {
return expression
}
override fun visitTypeOperator(expression: IrTypeOperatorCall, data: Boolean): IrElement? {
expression.argument.process()
if (data) {
builder.add(expression)
}
return expression
}
override fun visitElement(element: IrElement, data: Boolean): IrElement? {
TODO("not implemented")
}