[IR] Normalize temp var names in Kotlin-like dump
^KT-61983 Fixed
This commit is contained in:
committed by
Space Team
parent
6c519488a6
commit
bae8b283c7
@@ -42,12 +42,12 @@ data class A {
|
||||
when {
|
||||
other !is A -> return false
|
||||
}
|
||||
val tmp0_other_with_cast: A = other as A
|
||||
val tmp_0: A = other as A
|
||||
when {
|
||||
EQEQ(arg0 = <this>.#x, arg1 = tmp0_other_with_cast.#x).not() -> return false
|
||||
EQEQ(arg0 = <this>.#x, arg1 = tmp_0.#x).not() -> return false
|
||||
}
|
||||
when {
|
||||
EQEQ(arg0 = <this>.#y, arg1 = tmp0_other_with_cast.#y).not() -> return false
|
||||
EQEQ(arg0 = <this>.#y, arg1 = tmp_0.#y).not() -> return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
@@ -42,12 +42,12 @@ data class A {
|
||||
when {
|
||||
other !is A -> return false
|
||||
}
|
||||
val tmp0_other_with_cast: A = other as A
|
||||
val tmp_0: A = other as A
|
||||
when {
|
||||
EQEQ(arg0 = <this>.#x, arg1 = tmp0_other_with_cast.#x).not() -> return false
|
||||
EQEQ(arg0 = <this>.#x, arg1 = tmp_0.#x).not() -> return false
|
||||
}
|
||||
when {
|
||||
EQEQ(arg0 = <this>.#y, arg1 = tmp0_other_with_cast.#y).not() -> return false
|
||||
EQEQ(arg0 = <this>.#y, arg1 = tmp_0.#y).not() -> return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
@@ -2,9 +2,9 @@ fun outer() {
|
||||
var x: Int = 0
|
||||
local fun local() {
|
||||
{ // BLOCK
|
||||
val <unary>: Int = x
|
||||
x = <unary>.inc()
|
||||
<unary>
|
||||
val tmp_0: Int = x
|
||||
x = tmp_0.inc()
|
||||
tmp_0
|
||||
} /*~> Unit */
|
||||
}
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@ fun outer() {
|
||||
var x: Int = 0
|
||||
local fun local() {
|
||||
{ // BLOCK
|
||||
val tmp0: Int = x
|
||||
x = tmp0.inc()
|
||||
tmp0
|
||||
val tmp_0: Int = x
|
||||
x = tmp_0.inc()
|
||||
tmp_0
|
||||
} /*~> Unit */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user