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
+13 -13
View File
@@ -2,21 +2,21 @@ FILE /calls.kt
FUN public fun foo(x: kotlin.Int, y: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='foo(Int, Int): Int'
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
FUN public fun bar(x: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='bar(Int): Int'
CALL 'foo(Int, Int): Int' type=kotlin.Int operator=null
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
CALL 'foo(Int, Int): Int' type=kotlin.Int origin=null
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
y: CONST Int type=kotlin.Int value='1'
FUN public fun qux(x: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='qux(Int): Int'
CALL 'foo(Int, Int): Int' type=kotlin.Int operator=null
x: CALL 'foo(Int, Int): Int' type=kotlin.Int operator=null
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
CALL 'foo(Int, Int): Int' type=kotlin.Int origin=null
x: CALL 'foo(Int, Int): Int' type=kotlin.Int origin=null
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
FUN public fun kotlin.Int.ext1(): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='ext1() on Int: Int'
@@ -24,13 +24,13 @@ FILE /calls.kt
FUN public fun kotlin.Int.ext2(x: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='ext2(Int) on Int: Int'
CALL 'foo(Int, Int): Int' type=kotlin.Int operator=null
CALL 'foo(Int, Int): Int' type=kotlin.Int origin=null
x: $RECEIVER of 'ext2(Int) on Int: Int' type=kotlin.Int
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
FUN public fun kotlin.Int.ext3(x: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='ext3(Int) on Int: Int'
CALL 'foo(Int, Int): Int' type=kotlin.Int operator=null
x: CALL 'ext1() on Int: Int' type=kotlin.Int operator=null
CALL 'foo(Int, Int): Int' type=kotlin.Int origin=null
x: CALL 'ext1() on Int: Int' type=kotlin.Int origin=null
$receiver: $RECEIVER of 'ext3(Int) on Int: Int' type=kotlin.Int
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null