Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: runtime/vm/object.h

Issue 1312833009: Added {Zone}GrowableHandlePtrArray types: simplifies code, makes code safer (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: d Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/growable_array_test.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index bf8f578c1de05621be8abbb7e99547f6001695d9..41dc35df6da8cfa88ca3d1f1f0104e2dc6351fdb 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -1528,8 +1528,8 @@ class UnresolvedClass : public Object {
};
-typedef ZoneGrowableArray<const AbstractType*> Trail;
-typedef ZoneGrowableArray<const AbstractType*>* TrailPtr;
+typedef ZoneGrowableHandlePtrArray<const AbstractType> Trail;
+typedef ZoneGrowableHandlePtrArray<const AbstractType>* TrailPtr;
// A TypeArguments is an array of AbstractType.
class TypeArguments : public Object {
@@ -2699,10 +2699,11 @@ FOR_EACH_FUNCTION_KIND_BIT(DEFINE_BIT)
static RawFunction* New();
- void BuildSignatureParameters(bool instantiate,
- NameVisibility name_visibility,
- const TypeArguments& instantiator,
- GrowableArray<const String*>* pieces) const;
+ void BuildSignatureParameters(
+ bool instantiate,
+ NameVisibility name_visibility,
+ const TypeArguments& instantiator,
+ GrowableHandlePtrArray<const String>* pieces) const;
RawString* BuildSignature(bool instantiate,
NameVisibility name_visibility,
const TypeArguments& instantiator) const;
« no previous file with comments | « runtime/vm/growable_array_test.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698