DescriptionSupport receiving GrowableObjectArray on native ports
Array literals are created as GrowableObjectArrays internally.
A GrowableObjectArray holds a length and a backing store. The backing
store is an array. When receiving a GrowableObjectArray an object is
created for holding the GrowableObjectArray. The the backing store has
been read the object holding the GrowableObjectArray is transformed
into an array with its content from the backing store.
R=asiva@google.com, ager@google.com
BUG=dart:4993
TEST=runtime/vm/snapshot_test.cc/DartGeneratedArrayLiteralMessagesWithBackref,
runtime/vm/snapshot_test.cc/DartGeneratedArrayLiteralMessages
Committed: https://code.google.com/p/dart/source/detail?r=12197
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addressed review comments from ager@ #
Total comments: 8
Patch Set 3 : Addressed review commetns #
Messages
Total messages: 6 (0 generated)
|