[IR] Normalize temp var names in Kotlin-like dump

^KT-61983 Fixed
This commit is contained in:
Vladimir Sukharev
2023-09-19 21:29:17 +02:00
committed by Space Team
parent 6c519488a6
commit bae8b283c7
199 changed files with 1599 additions and 2273 deletions
@@ -32,9 +32,9 @@ data class Result {
when {
other !is Result -> return false
}
val tmp0_other_with_cast: Result = other as Result
val tmp_0: Result = other as Result
when {
EQEQ(arg0 = <this>.#i, arg1 = tmp0_other_with_cast.#i).not() -> return false
EQEQ(arg0 = <this>.#i, arg1 = tmp_0.#i).not() -> return false
}
return true
}
@@ -81,21 +81,21 @@ fun box(): String {
var result: Result = Result(i = 0)
with<Int, Result>(receiver = 1, block = local fun Int.<anonymous>(): Result {
{ // BLOCK
val tmp0: Result = result
result = tmp0.inc($context_receiver_0 = $this$with)
tmp0
val tmp_1: Result = result
result = tmp_1.inc($context_receiver_0 = $this$with)
tmp_1
} /*~> Unit */
{ // BLOCK
val tmp1: Result = result
result = tmp1.inc($context_receiver_0 = $this$with)
tmp1
val tmp_2: Result = result
result = tmp_2.inc($context_receiver_0 = $this$with)
tmp_2
} /*~> Unit */
result.unaryMinus($context_receiver_0 = $this$with) /*~> Unit */
result.unaryPlus($context_receiver_0 = $this$with) /*~> Unit */
return { // BLOCK
val tmp2: Result = result
result = tmp2.dec($context_receiver_0 = $this$with)
tmp2
val tmp_3: Result = result
result = tmp_3.dec($context_receiver_0 = $this$with)
tmp_3
}
}
) /*~> Unit */