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

21 lines
1.2 KiB
Plaintext
Vendored

FILE /equality.kt
FUN public fun test1(a: kotlin.Int, b: kotlin.Int): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='test1(Int, Int): Boolean'
CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
arg0: GET_VAR 'value-parameter a: Int' type=kotlin.Int operator=null
arg1: GET_VAR 'value-parameter b: Int' type=kotlin.Int operator=null
FUN public fun test2(a: kotlin.Int, b: kotlin.Int): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='test2(Int, Int): Boolean'
CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean operator=EXCLEQ
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EXCLEQ
arg0: GET_VAR 'value-parameter a: Int' type=kotlin.Int operator=null
arg1: GET_VAR 'value-parameter b: Int' type=kotlin.Int operator=null
FUN public fun test3(a: kotlin.Any?, b: kotlin.Any?): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='test3(Any?, Any?): Boolean'
CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
arg0: GET_VAR 'value-parameter a: Any?' type=kotlin.Any? operator=null
arg1: GET_VAR 'value-parameter b: Any?' type=kotlin.Any? operator=null