Sorted the fields of manually created ArrayList.
This commit is contained in:
committed by
alexander-gorshenev
parent
ca908ef4bd
commit
c0fdbd0e21
+2
-1
@@ -108,8 +108,9 @@ internal fun StaticData.createArrayList(elementType: TypeProjection, array: Cons
|
|||||||
// FIXME: properly import body type from stdlib
|
// FIXME: properly import body type from stdlib
|
||||||
|
|
||||||
val body = Struct(
|
val body = Struct(
|
||||||
array, // array: Array<E>
|
// Sorted by the hashCode() of the name.
|
||||||
Int32(0), // offset: Int
|
Int32(0), // offset: Int
|
||||||
|
array, // array: Array<E>
|
||||||
Int32(length), // length: Int
|
Int32(length), // length: Int
|
||||||
NullPointer(kObjHeader) // backing: ArrayList<E>?
|
NullPointer(kObjHeader) // backing: ArrayList<E>?
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user