IrOperator -> IrStatementOrigin

This commit is contained in:
Dmitry Petrov
2016-09-14 11:25:16 +03:00
committed by Dmitry Petrov
parent 5386d27284
commit a8a6477ce5
150 changed files with 2234 additions and 2297 deletions
@@ -2,8 +2,8 @@ FILE /simpleUnaryOperators.kt
FUN public fun test1(x: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='test1(Int): Int'
CALL 'unaryMinus(): Int' type=kotlin.Int operator=UMINUS
$this: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
CALL 'unaryMinus(): Int' type=kotlin.Int origin=UMINUS
$this: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
FUN public fun test2(): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='test2(): Int'
@@ -11,8 +11,8 @@ FILE /simpleUnaryOperators.kt
FUN public fun test3(x: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='test3(Int): Int'
CALL 'unaryPlus(): Int' type=kotlin.Int operator=UPLUS
$this: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
CALL 'unaryPlus(): Int' type=kotlin.Int origin=UPLUS
$this: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
FUN public fun test4(): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='test4(): Int'
@@ -20,8 +20,8 @@ FILE /simpleUnaryOperators.kt
FUN public fun test5(x: kotlin.Boolean): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='test5(Boolean): Boolean'
CALL 'not(): Boolean' type=kotlin.Boolean operator=EXCL
$this: GET_VAR 'value-parameter x: Boolean' type=kotlin.Boolean operator=null
CALL 'not(): Boolean' type=kotlin.Boolean origin=EXCL
$this: GET_VAR 'value-parameter x: Boolean' type=kotlin.Boolean origin=null
FUN public fun test6(): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='test6(): Boolean'