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

Unified Diff: runtime/vm/object.h

Issue 12086031: Make Type, TypeParameter, TypeArguments and InstantiatedTypeArguments final heap objects. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 17737)
+++ runtime/vm/object.h (working copy)
@@ -1076,7 +1076,7 @@
RawAbstractType** TypeAddr(intptr_t index) const;
void SetLength(intptr_t value) const;
- HEAP_OBJECT_IMPLEMENTATION(TypeArguments, AbstractTypeArguments);
+ FINAL_HEAP_OBJECT_IMPLEMENTATION(TypeArguments, AbstractTypeArguments);
friend class Class;
};
@@ -1131,7 +1131,8 @@
const AbstractTypeArguments& value) const;
static RawInstantiatedTypeArguments* New();
- HEAP_OBJECT_IMPLEMENTATION(InstantiatedTypeArguments, AbstractTypeArguments);
+ FINAL_HEAP_OBJECT_IMPLEMENTATION(InstantiatedTypeArguments,
+ AbstractTypeArguments);
friend class Class;
};
@@ -3558,7 +3559,7 @@
static RawType* New(Heap::Space space = Heap::kOld);
- HEAP_OBJECT_IMPLEMENTATION(Type, AbstractType);
+ FINAL_HEAP_OBJECT_IMPLEMENTATION(Type, AbstractType);
friend class Class;
};
@@ -3618,7 +3619,7 @@
void set_type_state(int8_t state) const;
static RawTypeParameter* New();
- HEAP_OBJECT_IMPLEMENTATION(TypeParameter, AbstractType);
+ FINAL_HEAP_OBJECT_IMPLEMENTATION(TypeParameter, AbstractType);
friend class Class;
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698