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
+33 -33
View File
@@ -2,66 +2,66 @@ FILE /simpleOperators.kt
FUN public fun test1(a: kotlin.Int, b: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='test1(Int, Int): Int'
CALL 'plus(Int): Int' type=kotlin.Int operator=PLUS
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int operator=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int operator=null
CALL 'plus(Int): Int' type=kotlin.Int origin=PLUS
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
FUN public fun test2(a: kotlin.Int, b: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='test2(Int, Int): Int'
CALL 'minus(Int): Int' type=kotlin.Int operator=MINUS
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int operator=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int operator=null
CALL 'minus(Int): Int' type=kotlin.Int origin=MINUS
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
FUN public fun test3(a: kotlin.Int, b: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='test3(Int, Int): Int'
CALL 'times(Int): Int' type=kotlin.Int operator=MUL
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int operator=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int operator=null
CALL 'times(Int): Int' type=kotlin.Int origin=MUL
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
FUN public fun test4(a: kotlin.Int, b: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='test4(Int, Int): Int'
CALL 'div(Int): Int' type=kotlin.Int operator=DIV
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int operator=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int operator=null
CALL 'div(Int): Int' type=kotlin.Int origin=DIV
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
FUN public fun test5(a: kotlin.Int, b: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='test5(Int, Int): Int'
CALL 'mod(Int): Int' type=kotlin.Int operator=PERC
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int operator=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int operator=null
CALL 'mod(Int): Int' type=kotlin.Int origin=PERC
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
FUN public fun test6(a: kotlin.Int, b: kotlin.Int): kotlin.ranges.IntRange
BLOCK_BODY
RETURN type=kotlin.Nothing from='test6(Int, Int): IntRange'
CALL 'rangeTo(Int): IntRange' type=kotlin.ranges.IntRange operator=RANGE
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int operator=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int operator=null
CALL 'rangeTo(Int): IntRange' type=kotlin.ranges.IntRange origin=RANGE
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
FUN public fun test1x(a: kotlin.Int, b: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='test1x(Int, Int): Int'
CALL 'plus(Int): Int' type=kotlin.Int operator=null
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int operator=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int operator=null
CALL 'plus(Int): Int' type=kotlin.Int origin=null
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
FUN public fun test2x(a: kotlin.Int, b: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='test2x(Int, Int): Int'
CALL 'minus(Int): Int' type=kotlin.Int operator=null
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int operator=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int operator=null
CALL 'minus(Int): Int' type=kotlin.Int origin=null
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
FUN public fun test3x(a: kotlin.Int, b: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='test3x(Int, Int): Int'
CALL 'times(Int): Int' type=kotlin.Int operator=null
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int operator=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int operator=null
CALL 'times(Int): Int' type=kotlin.Int origin=null
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
FUN public fun test4x(a: kotlin.Int, b: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='test4x(Int, Int): Int'
CALL 'div(Int): Int' type=kotlin.Int operator=null
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int operator=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int operator=null
CALL 'div(Int): Int' type=kotlin.Int origin=null
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
FUN public fun test5x(a: kotlin.Int, b: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='test5x(Int, Int): Int'
CALL 'mod(Int): Int' type=kotlin.Int operator=null
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int operator=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int operator=null
CALL 'mod(Int): Int' type=kotlin.Int origin=null
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null