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,168 +2,168 @@ FILE /primitiveComparisons.kt
FUN public fun btest1(a: kotlin.Byte, b: kotlin.Byte): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='btest1(Byte, Byte): Boolean'
CALL 'GT0(Int): Boolean' type=kotlin.Boolean operator=GT
arg0: CALL 'compareTo(Byte): Int' type=kotlin.Int operator=GT
$this: GET_VAR 'value-parameter a: Byte' type=kotlin.Byte operator=null
other: GET_VAR 'value-parameter b: Byte' type=kotlin.Byte operator=null
CALL 'GT0(Int): Boolean' type=kotlin.Boolean origin=GT
arg0: CALL 'compareTo(Byte): Int' type=kotlin.Int origin=GT
$this: GET_VAR 'value-parameter a: Byte' type=kotlin.Byte origin=null
other: GET_VAR 'value-parameter b: Byte' type=kotlin.Byte origin=null
FUN public fun btest2(a: kotlin.Byte, b: kotlin.Byte): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='btest2(Byte, Byte): Boolean'
CALL 'LT0(Int): Boolean' type=kotlin.Boolean operator=LT
arg0: CALL 'compareTo(Byte): Int' type=kotlin.Int operator=LT
$this: GET_VAR 'value-parameter a: Byte' type=kotlin.Byte operator=null
other: GET_VAR 'value-parameter b: Byte' type=kotlin.Byte operator=null
CALL 'LT0(Int): Boolean' type=kotlin.Boolean origin=LT
arg0: CALL 'compareTo(Byte): Int' type=kotlin.Int origin=LT
$this: GET_VAR 'value-parameter a: Byte' type=kotlin.Byte origin=null
other: GET_VAR 'value-parameter b: Byte' type=kotlin.Byte origin=null
FUN public fun btest3(a: kotlin.Byte, b: kotlin.Byte): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='btest3(Byte, Byte): Boolean'
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean operator=GTEQ
arg0: CALL 'compareTo(Byte): Int' type=kotlin.Int operator=GTEQ
$this: GET_VAR 'value-parameter a: Byte' type=kotlin.Byte operator=null
other: GET_VAR 'value-parameter b: Byte' type=kotlin.Byte operator=null
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean origin=GTEQ
arg0: CALL 'compareTo(Byte): Int' type=kotlin.Int origin=GTEQ
$this: GET_VAR 'value-parameter a: Byte' type=kotlin.Byte origin=null
other: GET_VAR 'value-parameter b: Byte' type=kotlin.Byte origin=null
FUN public fun btest4(a: kotlin.Byte, b: kotlin.Byte): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='btest4(Byte, Byte): Boolean'
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean operator=LTEQ
arg0: CALL 'compareTo(Byte): Int' type=kotlin.Int operator=LTEQ
$this: GET_VAR 'value-parameter a: Byte' type=kotlin.Byte operator=null
other: GET_VAR 'value-parameter b: Byte' type=kotlin.Byte operator=null
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean origin=LTEQ
arg0: CALL 'compareTo(Byte): Int' type=kotlin.Int origin=LTEQ
$this: GET_VAR 'value-parameter a: Byte' type=kotlin.Byte origin=null
other: GET_VAR 'value-parameter b: Byte' type=kotlin.Byte origin=null
FUN public fun stest1(a: kotlin.Short, b: kotlin.Short): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='stest1(Short, Short): Boolean'
CALL 'GT0(Int): Boolean' type=kotlin.Boolean operator=GT
arg0: CALL 'compareTo(Short): Int' type=kotlin.Int operator=GT
$this: GET_VAR 'value-parameter a: Short' type=kotlin.Short operator=null
other: GET_VAR 'value-parameter b: Short' type=kotlin.Short operator=null
CALL 'GT0(Int): Boolean' type=kotlin.Boolean origin=GT
arg0: CALL 'compareTo(Short): Int' type=kotlin.Int origin=GT
$this: GET_VAR 'value-parameter a: Short' type=kotlin.Short origin=null
other: GET_VAR 'value-parameter b: Short' type=kotlin.Short origin=null
FUN public fun stest2(a: kotlin.Short, b: kotlin.Short): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='stest2(Short, Short): Boolean'
CALL 'LT0(Int): Boolean' type=kotlin.Boolean operator=LT
arg0: CALL 'compareTo(Short): Int' type=kotlin.Int operator=LT
$this: GET_VAR 'value-parameter a: Short' type=kotlin.Short operator=null
other: GET_VAR 'value-parameter b: Short' type=kotlin.Short operator=null
CALL 'LT0(Int): Boolean' type=kotlin.Boolean origin=LT
arg0: CALL 'compareTo(Short): Int' type=kotlin.Int origin=LT
$this: GET_VAR 'value-parameter a: Short' type=kotlin.Short origin=null
other: GET_VAR 'value-parameter b: Short' type=kotlin.Short origin=null
FUN public fun stest3(a: kotlin.Short, b: kotlin.Short): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='stest3(Short, Short): Boolean'
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean operator=GTEQ
arg0: CALL 'compareTo(Short): Int' type=kotlin.Int operator=GTEQ
$this: GET_VAR 'value-parameter a: Short' type=kotlin.Short operator=null
other: GET_VAR 'value-parameter b: Short' type=kotlin.Short operator=null
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean origin=GTEQ
arg0: CALL 'compareTo(Short): Int' type=kotlin.Int origin=GTEQ
$this: GET_VAR 'value-parameter a: Short' type=kotlin.Short origin=null
other: GET_VAR 'value-parameter b: Short' type=kotlin.Short origin=null
FUN public fun stest4(a: kotlin.Short, b: kotlin.Short): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='stest4(Short, Short): Boolean'
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean operator=LTEQ
arg0: CALL 'compareTo(Short): Int' type=kotlin.Int operator=LTEQ
$this: GET_VAR 'value-parameter a: Short' type=kotlin.Short operator=null
other: GET_VAR 'value-parameter b: Short' type=kotlin.Short operator=null
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean origin=LTEQ
arg0: CALL 'compareTo(Short): Int' type=kotlin.Int origin=LTEQ
$this: GET_VAR 'value-parameter a: Short' type=kotlin.Short origin=null
other: GET_VAR 'value-parameter b: Short' type=kotlin.Short origin=null
FUN public fun itest1(a: kotlin.Int, b: kotlin.Int): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='itest1(Int, Int): Boolean'
CALL 'GT0(Int): Boolean' type=kotlin.Boolean operator=GT
arg0: CALL 'compareTo(Int): Int' type=kotlin.Int operator=GT
$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 'GT0(Int): Boolean' type=kotlin.Boolean origin=GT
arg0: CALL 'compareTo(Int): Int' type=kotlin.Int origin=GT
$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 itest2(a: kotlin.Int, b: kotlin.Int): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='itest2(Int, Int): Boolean'
CALL 'LT0(Int): Boolean' type=kotlin.Boolean operator=LT
arg0: CALL 'compareTo(Int): Int' type=kotlin.Int operator=LT
$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 'LT0(Int): Boolean' type=kotlin.Boolean origin=LT
arg0: CALL 'compareTo(Int): Int' type=kotlin.Int origin=LT
$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 itest3(a: kotlin.Int, b: kotlin.Int): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='itest3(Int, Int): Boolean'
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean operator=GTEQ
arg0: CALL 'compareTo(Int): Int' type=kotlin.Int operator=GTEQ
$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 'GTEQ0(Int): Boolean' type=kotlin.Boolean origin=GTEQ
arg0: CALL 'compareTo(Int): Int' type=kotlin.Int origin=GTEQ
$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 itest4(a: kotlin.Int, b: kotlin.Int): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='itest4(Int, Int): Boolean'
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean operator=LTEQ
arg0: CALL 'compareTo(Int): Int' type=kotlin.Int operator=LTEQ
$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 'LTEQ0(Int): Boolean' type=kotlin.Boolean origin=LTEQ
arg0: CALL 'compareTo(Int): Int' type=kotlin.Int origin=LTEQ
$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 ltest1(a: kotlin.Long, b: kotlin.Long): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='ltest1(Long, Long): Boolean'
CALL 'GT0(Int): Boolean' type=kotlin.Boolean operator=GT
arg0: CALL 'compareTo(Long): Int' type=kotlin.Int operator=GT
$this: GET_VAR 'value-parameter a: Long' type=kotlin.Long operator=null
other: GET_VAR 'value-parameter b: Long' type=kotlin.Long operator=null
CALL 'GT0(Int): Boolean' type=kotlin.Boolean origin=GT
arg0: CALL 'compareTo(Long): Int' type=kotlin.Int origin=GT
$this: GET_VAR 'value-parameter a: Long' type=kotlin.Long origin=null
other: GET_VAR 'value-parameter b: Long' type=kotlin.Long origin=null
FUN public fun ltest2(a: kotlin.Long, b: kotlin.Long): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='ltest2(Long, Long): Boolean'
CALL 'LT0(Int): Boolean' type=kotlin.Boolean operator=LT
arg0: CALL 'compareTo(Long): Int' type=kotlin.Int operator=LT
$this: GET_VAR 'value-parameter a: Long' type=kotlin.Long operator=null
other: GET_VAR 'value-parameter b: Long' type=kotlin.Long operator=null
CALL 'LT0(Int): Boolean' type=kotlin.Boolean origin=LT
arg0: CALL 'compareTo(Long): Int' type=kotlin.Int origin=LT
$this: GET_VAR 'value-parameter a: Long' type=kotlin.Long origin=null
other: GET_VAR 'value-parameter b: Long' type=kotlin.Long origin=null
FUN public fun ltest3(a: kotlin.Long, b: kotlin.Long): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='ltest3(Long, Long): Boolean'
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean operator=GTEQ
arg0: CALL 'compareTo(Long): Int' type=kotlin.Int operator=GTEQ
$this: GET_VAR 'value-parameter a: Long' type=kotlin.Long operator=null
other: GET_VAR 'value-parameter b: Long' type=kotlin.Long operator=null
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean origin=GTEQ
arg0: CALL 'compareTo(Long): Int' type=kotlin.Int origin=GTEQ
$this: GET_VAR 'value-parameter a: Long' type=kotlin.Long origin=null
other: GET_VAR 'value-parameter b: Long' type=kotlin.Long origin=null
FUN public fun ltest4(a: kotlin.Long, b: kotlin.Long): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='ltest4(Long, Long): Boolean'
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean operator=LTEQ
arg0: CALL 'compareTo(Long): Int' type=kotlin.Int operator=LTEQ
$this: GET_VAR 'value-parameter a: Long' type=kotlin.Long operator=null
other: GET_VAR 'value-parameter b: Long' type=kotlin.Long operator=null
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean origin=LTEQ
arg0: CALL 'compareTo(Long): Int' type=kotlin.Int origin=LTEQ
$this: GET_VAR 'value-parameter a: Long' type=kotlin.Long origin=null
other: GET_VAR 'value-parameter b: Long' type=kotlin.Long origin=null
FUN public fun ftest1(a: kotlin.Float, b: kotlin.Float): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='ftest1(Float, Float): Boolean'
CALL 'GT0(Int): Boolean' type=kotlin.Boolean operator=GT
arg0: CALL 'compareTo(Float): Int' type=kotlin.Int operator=GT
$this: GET_VAR 'value-parameter a: Float' type=kotlin.Float operator=null
other: GET_VAR 'value-parameter b: Float' type=kotlin.Float operator=null
CALL 'GT0(Int): Boolean' type=kotlin.Boolean origin=GT
arg0: CALL 'compareTo(Float): Int' type=kotlin.Int origin=GT
$this: GET_VAR 'value-parameter a: Float' type=kotlin.Float origin=null
other: GET_VAR 'value-parameter b: Float' type=kotlin.Float origin=null
FUN public fun ftest2(a: kotlin.Float, b: kotlin.Float): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='ftest2(Float, Float): Boolean'
CALL 'LT0(Int): Boolean' type=kotlin.Boolean operator=LT
arg0: CALL 'compareTo(Float): Int' type=kotlin.Int operator=LT
$this: GET_VAR 'value-parameter a: Float' type=kotlin.Float operator=null
other: GET_VAR 'value-parameter b: Float' type=kotlin.Float operator=null
CALL 'LT0(Int): Boolean' type=kotlin.Boolean origin=LT
arg0: CALL 'compareTo(Float): Int' type=kotlin.Int origin=LT
$this: GET_VAR 'value-parameter a: Float' type=kotlin.Float origin=null
other: GET_VAR 'value-parameter b: Float' type=kotlin.Float origin=null
FUN public fun ftest3(a: kotlin.Float, b: kotlin.Float): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='ftest3(Float, Float): Boolean'
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean operator=GTEQ
arg0: CALL 'compareTo(Float): Int' type=kotlin.Int operator=GTEQ
$this: GET_VAR 'value-parameter a: Float' type=kotlin.Float operator=null
other: GET_VAR 'value-parameter b: Float' type=kotlin.Float operator=null
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean origin=GTEQ
arg0: CALL 'compareTo(Float): Int' type=kotlin.Int origin=GTEQ
$this: GET_VAR 'value-parameter a: Float' type=kotlin.Float origin=null
other: GET_VAR 'value-parameter b: Float' type=kotlin.Float origin=null
FUN public fun ftest4(a: kotlin.Float, b: kotlin.Float): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='ftest4(Float, Float): Boolean'
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean operator=LTEQ
arg0: CALL 'compareTo(Float): Int' type=kotlin.Int operator=LTEQ
$this: GET_VAR 'value-parameter a: Float' type=kotlin.Float operator=null
other: GET_VAR 'value-parameter b: Float' type=kotlin.Float operator=null
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean origin=LTEQ
arg0: CALL 'compareTo(Float): Int' type=kotlin.Int origin=LTEQ
$this: GET_VAR 'value-parameter a: Float' type=kotlin.Float origin=null
other: GET_VAR 'value-parameter b: Float' type=kotlin.Float origin=null
FUN public fun dtest1(a: kotlin.Double, b: kotlin.Double): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='dtest1(Double, Double): Boolean'
CALL 'GT0(Int): Boolean' type=kotlin.Boolean operator=GT
arg0: CALL 'compareTo(Double): Int' type=kotlin.Int operator=GT
$this: GET_VAR 'value-parameter a: Double' type=kotlin.Double operator=null
other: GET_VAR 'value-parameter b: Double' type=kotlin.Double operator=null
CALL 'GT0(Int): Boolean' type=kotlin.Boolean origin=GT
arg0: CALL 'compareTo(Double): Int' type=kotlin.Int origin=GT
$this: GET_VAR 'value-parameter a: Double' type=kotlin.Double origin=null
other: GET_VAR 'value-parameter b: Double' type=kotlin.Double origin=null
FUN public fun dtest2(a: kotlin.Double, b: kotlin.Double): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='dtest2(Double, Double): Boolean'
CALL 'LT0(Int): Boolean' type=kotlin.Boolean operator=LT
arg0: CALL 'compareTo(Double): Int' type=kotlin.Int operator=LT
$this: GET_VAR 'value-parameter a: Double' type=kotlin.Double operator=null
other: GET_VAR 'value-parameter b: Double' type=kotlin.Double operator=null
CALL 'LT0(Int): Boolean' type=kotlin.Boolean origin=LT
arg0: CALL 'compareTo(Double): Int' type=kotlin.Int origin=LT
$this: GET_VAR 'value-parameter a: Double' type=kotlin.Double origin=null
other: GET_VAR 'value-parameter b: Double' type=kotlin.Double origin=null
FUN public fun dtest3(a: kotlin.Double, b: kotlin.Double): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='dtest3(Double, Double): Boolean'
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean operator=GTEQ
arg0: CALL 'compareTo(Double): Int' type=kotlin.Int operator=GTEQ
$this: GET_VAR 'value-parameter a: Double' type=kotlin.Double operator=null
other: GET_VAR 'value-parameter b: Double' type=kotlin.Double operator=null
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean origin=GTEQ
arg0: CALL 'compareTo(Double): Int' type=kotlin.Int origin=GTEQ
$this: GET_VAR 'value-parameter a: Double' type=kotlin.Double origin=null
other: GET_VAR 'value-parameter b: Double' type=kotlin.Double origin=null
FUN public fun dtest4(a: kotlin.Double, b: kotlin.Double): kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='dtest4(Double, Double): Boolean'
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean operator=LTEQ
arg0: CALL 'compareTo(Double): Int' type=kotlin.Int operator=LTEQ
$this: GET_VAR 'value-parameter a: Double' type=kotlin.Double operator=null
other: GET_VAR 'value-parameter b: Double' type=kotlin.Double operator=null
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean origin=LTEQ
arg0: CALL 'compareTo(Double): Int' type=kotlin.Int origin=LTEQ
$this: GET_VAR 'value-parameter a: Double' type=kotlin.Double origin=null
other: GET_VAR 'value-parameter b: Double' type=kotlin.Double origin=null