[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
@@ -33,9 +33,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
}
@@ -59,8 +59,8 @@ operator fun Result.plusAssign($context_receiver_0: Int, other: Result) {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
}
{ // BLOCK
val tmp0_this: Result = <this>
tmp0_this.<set-i>(<set-?> = tmp0_this.<get-i>().plus(other = other.<get-i>()))
val tmp_1: Result = <this>
tmp_1.<set-i>(<set-?> = tmp_1.<get-i>().plus(other = other.<get-i>()))
}
}
@@ -76,8 +76,8 @@ operator fun Result.minusAssign($context_receiver_0: Int, other: Result) {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
}
{ // BLOCK
val tmp0_this: Result = <this>
tmp0_this.<set-i>(<set-?> = tmp0_this.<get-i>().minus(other = other.<get-i>()))
val tmp_2: Result = <this>
tmp_2.<set-i>(<set-?> = tmp_2.<get-i>().minus(other = other.<get-i>()))
}
}
@@ -93,8 +93,8 @@ operator fun Result.timesAssign($context_receiver_0: Int, other: Result) {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
}
{ // BLOCK
val tmp0_this: Result = <this>
tmp0_this.<set-i>(<set-?> = tmp0_this.<get-i>().times(other = other.<get-i>()))
val tmp_3: Result = <this>
tmp_3.<set-i>(<set-?> = tmp_3.<get-i>().times(other = other.<get-i>()))
}
}
@@ -110,8 +110,8 @@ operator fun Result.divAssign($context_receiver_0: Int, other: Result) {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
}
{ // BLOCK
val tmp0_this: Result = <this>
tmp0_this.<set-i>(<set-?> = tmp0_this.<get-i>().div(other = other.<get-i>()))
val tmp_4: Result = <this>
tmp_4.<set-i>(<set-?> = tmp_4.<get-i>().div(other = other.<get-i>()))
}
}