DescriptionAdd support for lists and backward references when decoding a message to a Dart_CObject object
The C message reader can now read lists created like this:
new List()
new List<int>()
new List<String>()
new List<double>()
new List<bool>()
The backward references are now resolved and already allocated
Dart_CObject objects are reused when there is a backward reference.
The reuse of the Dart_CObject objects poses the issue of which objects
where allocated with the supplied allocator and which where not.
Currently this will work best with a zone allocator. This will be added
to the tests in a subsequent change.
R=asiva@google.com, turnidge@google.com
BUG=
TEST=
Committed: https://code.google.com/p/dart/source/detail?r=3831
Patch Set 1 #
Total comments: 6
Patch Set 2 : Addressed review comments from asiva@ #Patch Set 3 : Combined with https://chromiumcodereview.appspot.com/9303001/ #Patch Set 4 : Rebased to r3830 #
Messages
Total messages: 3 (0 generated)
|