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

Unified Diff: runtime/vm/snapshot.cc

Issue 10979058: - Implement first class types in the VM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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
Index: runtime/vm/snapshot.cc
===================================================================
--- runtime/vm/snapshot.cc (revision 12980)
+++ runtime/vm/snapshot.cc (working copy)
@@ -511,12 +511,12 @@
RawType* SnapshotReader::NewType() {
- ALLOC_NEW_OBJECT(Type, Object::type_class());
+ ALLOC_NEW_OBJECT(Type, object_store()->type_class());
}
RawTypeParameter* SnapshotReader::NewTypeParameter() {
- ALLOC_NEW_OBJECT(TypeParameter, Object::type_parameter_class());
+ ALLOC_NEW_OBJECT(TypeParameter, object_store()->type_parameter_class());
}

Powered by Google App Engine
This is Rietveld 408576698