|
Added following dart API changes to enable more efficient access based
on the dartium usage pattern:
- Dart_GetNativeStringArgument (gets a String object, peer etc. directly from
the native arguments)
- Dart_SetWeakHandleReturnValue (allows a weak handle to be passed to the
return value, this ensures a new local handle does not have to be created
from a weak handle just to return a value)
- Dart_StringGetProperties (gets some common properties of a string, avoids
multiple API calls to set up a native string)
R=srdjan@google.com, vsm@google.com
Committed: https://code.google.com/p/dart/source/detail?r=26046
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+297 lines, -90 lines) |
Patch |
|
M |
runtime/include/dart_api.h
|
View
|
1
|
3 chunks |
+32 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl.cc
|
View
|
1
|
7 chunks |
+73 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl_test.cc
|
View
|
1
|
4 chunks |
+40 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.h
|
View
|
1
|
1 chunk |
+1 line, -74 lines |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.cc
|
View
|
1
|
2 chunks |
+1 line, -10 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.h
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
runtime/vm/reusable_handles.h
|
View
|
|
1 chunk |
+144 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/vm_sources.gypi
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|