Inline classes ABI: rename equals--impl to equals-impl0
This commit is contained in:
@@ -19,7 +19,7 @@ object InlineClassDescriptorResolver {
|
|||||||
@JvmField
|
@JvmField
|
||||||
val UNBOX_METHOD_NAME = Name.identifier("unbox")
|
val UNBOX_METHOD_NAME = Name.identifier("unbox")
|
||||||
|
|
||||||
private val SPECIALIZED_EQUALS_NAME = Name.identifier("equals--impl")
|
private val SPECIALIZED_EQUALS_NAME = Name.identifier("equals-impl0")
|
||||||
|
|
||||||
private val BOXING_VALUE_PARAMETER_NAME = Name.identifier("v")
|
private val BOXING_VALUE_PARAMETER_NAME = Name.identifier("v")
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -10,9 +10,9 @@ inline class Simple(val x: String) {
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
var s = ""
|
var s = ""
|
||||||
val name = "equals--impl"
|
val name = "equals-impl0"
|
||||||
val specializedEquals =
|
val specializedEquals =
|
||||||
Class.forName("Simple\$Erased").getDeclaredMethod("equals--impl", String::class.java, String::class.java)
|
Class.forName("Simple\$Erased").getDeclaredMethod(name, String::class.java, String::class.java)
|
||||||
?: return "$name not found"
|
?: return "$name not found"
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Vendored
+1
-1
@@ -12,7 +12,7 @@ static class Foo$Erased {
|
|||||||
public final static @org.jetbrains.annotations.NotNull method box(p0: int): Foo
|
public final static @org.jetbrains.annotations.NotNull method box(p0: int): Foo
|
||||||
public static method constructor(p0: int): int
|
public static method constructor(p0: int): int
|
||||||
public static method equals(p0: int, @org.jetbrains.annotations.Nullable p1: java.lang.Object): boolean
|
public static method equals(p0: int, @org.jetbrains.annotations.Nullable p1: java.lang.Object): boolean
|
||||||
public final static method equals--impl(p0: int, p1: int): boolean
|
public final static method equals-impl0(p0: int, p1: int): boolean
|
||||||
public static method hashCode(p0: int): int
|
public static method hashCode(p0: int): int
|
||||||
public final static method inInlineClass(p0: int): void
|
public final static method inInlineClass(p0: int): void
|
||||||
public static @org.jetbrains.annotations.NotNull method toString(p0: int): java.lang.String
|
public static @org.jetbrains.annotations.NotNull method toString(p0: int): java.lang.String
|
||||||
|
|||||||
Vendored
+1
-1
@@ -4,7 +4,7 @@ static class Foo$Erased {
|
|||||||
public final static @org.jetbrains.annotations.NotNull method box(p0: int): Foo
|
public final static @org.jetbrains.annotations.NotNull method box(p0: int): Foo
|
||||||
public static method constructor(p0: int): int
|
public static method constructor(p0: int): int
|
||||||
public static method equals(p0: int, @org.jetbrains.annotations.Nullable p1: java.lang.Object): boolean
|
public static method equals(p0: int, @org.jetbrains.annotations.Nullable p1: java.lang.Object): boolean
|
||||||
public final static method equals--impl(p0: int, p1: int): boolean
|
public final static method equals-impl0(p0: int, p1: int): boolean
|
||||||
public final static method getAsThis(p0: int): int
|
public final static method getAsThis(p0: int): int
|
||||||
public final static method getProp(p0: int): int
|
public final static method getProp(p0: int): int
|
||||||
public static method hashCode(p0: int): int
|
public static method hashCode(p0: int): int
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ static class Foo$Erased {
|
|||||||
public static method constructor(p0: int): int
|
public static method constructor(p0: int): int
|
||||||
public static method constructor(p0: long): int
|
public static method constructor(p0: long): int
|
||||||
public static method equals(p0: int, @org.jetbrains.annotations.Nullable p1: java.lang.Object): boolean
|
public static method equals(p0: int, @org.jetbrains.annotations.Nullable p1: java.lang.Object): boolean
|
||||||
public final static method equals--impl(p0: int, p1: int): boolean
|
public final static method equals-impl0(p0: int, p1: int): boolean
|
||||||
public static method hashCode(p0: int): int
|
public static method hashCode(p0: int): int
|
||||||
public static @org.jetbrains.annotations.NotNull method toString(p0: int): java.lang.String
|
public static @org.jetbrains.annotations.NotNull method toString(p0: int): java.lang.String
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ static class Foo$Erased {
|
|||||||
public final static @org.jetbrains.annotations.NotNull method box(p0: long): Foo
|
public final static @org.jetbrains.annotations.NotNull method box(p0: long): Foo
|
||||||
public static method constructor(p0: long): long
|
public static method constructor(p0: long): long
|
||||||
public static method equals(p0: long, @org.jetbrains.annotations.Nullable p1: java.lang.Object): boolean
|
public static method equals(p0: long, @org.jetbrains.annotations.Nullable p1: java.lang.Object): boolean
|
||||||
public final static method equals--impl(p0: long, p1: long): boolean
|
public final static method equals-impl0(p0: long, p1: long): boolean
|
||||||
public static method foo-1e4ch6lh(p0: long, p1: long): void
|
public static method foo-1e4ch6lh(p0: long, p1: long): void
|
||||||
public static method hashCode(p0: long): int
|
public static method hashCode(p0: long): int
|
||||||
public static @org.jetbrains.annotations.NotNull method toString(p0: long): java.lang.String
|
public static @org.jetbrains.annotations.NotNull method toString(p0: long): java.lang.String
|
||||||
|
|||||||
Vendored
+1
-1
@@ -5,7 +5,7 @@ static class Foo$Erased {
|
|||||||
public static method constructor(p0: long): long
|
public static method constructor(p0: long): long
|
||||||
public final static method empty(p0: long): void
|
public final static method empty(p0: long): void
|
||||||
public static method equals(p0: long, @org.jetbrains.annotations.Nullable p1: java.lang.Object): boolean
|
public static method equals(p0: long, @org.jetbrains.annotations.Nullable p1: java.lang.Object): boolean
|
||||||
public final static method equals--impl(p0: long, p1: long): boolean
|
public final static method equals-impl0(p0: long, p1: long): boolean
|
||||||
public final static method extension(p0: long, @org.jetbrains.annotations.NotNull p1: java.lang.Object, @org.jetbrains.annotations.NotNull p2: java.lang.String): void
|
public final static method extension(p0: long, @org.jetbrains.annotations.NotNull p1: java.lang.Object, @org.jetbrains.annotations.NotNull p2: java.lang.String): void
|
||||||
public static method hashCode(p0: long): int
|
public static method hashCode(p0: long): int
|
||||||
public final static method param(p0: long, p1: double): void
|
public final static method param(p0: long, p1: double): void
|
||||||
|
|||||||
Reference in New Issue
Block a user