|
Decode the Dart message into a Dart_CMessage structure before calling the native port callback
The native port callback is now passed the message as a decodes
Dart_CMessage structure. The Dart_CMessage structure is allocated
in a zone and the callback receiving it should expect the
lifetime to be controlled by the caller.
Added support for zones which do not require a current
isolate. Changed the GrowableArray to support allocating in
aprovided zone instead of the zone for the current isolate.
R=turnidge@google.com, asiva@google.com
BUG=
TEST=
Committed: https://code.google.com/p/dart/source/detail?r=4068
Total comments: 19
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+556 lines, -390 lines) |
Patch |
|
M |
runtime/include/dart_api.h
|
View
|
1
2
|
2 chunks |
+55 lines, -50 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl.h
|
View
|
1
2
3
4
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl.cc
|
View
|
1
2
3
4
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl_test.cc
|
View
|
1
2
3
4
|
1 chunk |
+18 lines, -10 lines |
0 comments
|
Download
|
|
A |
runtime/vm/dart_api_message.h
|
View
|
1
2
3
4
|
1 chunk |
+81 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/vm/dart_api_message.cc
|
View
|
1
2
|
1 chunk |
+259 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_state.h
|
View
|
1
2
3
4
|
4 chunks |
+49 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/growable_array.h
|
View
|
1
2
3
4
|
5 chunks |
+19 lines, -15 lines |
0 comments
|
Download
|
|
M |
runtime/vm/native_message_handler.cc
|
View
|
1
2
|
3 chunks |
+21 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/snapshot.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -62 lines |
0 comments
|
Download
|
|
M |
runtime/vm/snapshot.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -236 lines |
0 comments
|
Download
|
|
M |
runtime/vm/snapshot_test.cc
|
View
|
1
2
3
4
|
24 chunks |
+23 lines, -10 lines |
0 comments
|
Download
|
|
M |
runtime/vm/vm_sources.gypi
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/zone.h
|
View
|
1
2
3
4
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|