Files
kotlin-fork/compiler/testData/ir/irText/expressions/simpleOperators.txt
T
2016-10-18 09:09:21 +03:00

68 lines
3.9 KiB
Plaintext
Vendored

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 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 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 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 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 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 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 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 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 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 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 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