[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
@@ -51,15 +51,15 @@ data class Test1 {
when {
other !is Test1 -> return false
}
val tmp0_other_with_cast: Test1 = other as Test1
val tmp_0: Test1 = other as Test1
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
}
when {
EQEQ(arg0 = <this>.#z, arg1 = tmp0_other_with_cast.#z).not() -> return false
EQEQ(arg0 = <this>.#z, arg1 = tmp_0.#z).not() -> return false
}
return true
}
@@ -103,9 +103,9 @@ data class Test2 {
when {
other !is Test2 -> return false
}
val tmp0_other_with_cast: Test2 = other as Test2
val tmp_1: Test2 = other as Test2
when {
EQEQ(arg0 = <this>.#x, arg1 = tmp0_other_with_cast.#x).not() -> return false
EQEQ(arg0 = <this>.#x, arg1 = tmp_1.#x).not() -> return false
}
return true
}
@@ -180,18 +180,18 @@ data class Test3 {
when {
other !is Test3 -> return false
}
val tmp0_other_with_cast: Test3 = other as Test3
val tmp_2: Test3 = other as Test3
when {
EQEQ(arg0 = <this>.#d, arg1 = tmp0_other_with_cast.#d).not() -> return false
EQEQ(arg0 = <this>.#d, arg1 = tmp_2.#d).not() -> return false
}
when {
EQEQ(arg0 = <this>.#dn, arg1 = tmp0_other_with_cast.#dn).not() -> return false
EQEQ(arg0 = <this>.#dn, arg1 = tmp_2.#dn).not() -> return false
}
when {
EQEQ(arg0 = <this>.#f, arg1 = tmp0_other_with_cast.#f).not() -> return false
EQEQ(arg0 = <this>.#f, arg1 = tmp_2.#f).not() -> return false
}
when {
EQEQ(arg0 = <this>.#df, arg1 = tmp0_other_with_cast.#df).not() -> return false
EQEQ(arg0 = <this>.#df, arg1 = tmp_2.#df).not() -> return false
}
return true
}