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

Unified Diff: src/list.h

Issue 107933005: Templatise type representation (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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: src/list.h
diff --git a/src/list.h b/src/list.h
index 6ba55b64ac30d4abb360125ee1398eaa18a3e256..ed54c0d1a74a346481d8d21d8fab46e874ff23ae 100644
--- a/src/list.h
+++ b/src/list.h
@@ -204,7 +204,9 @@ size_t GetMemoryUsedByList(const List<T, P>& list) {
class Map;
-class Type;
+template<class> class TypeImpl;
+class HeapTypeConfig;
+typedef TypeImpl<HeapTypeConfig> Type;
class Code;
template<typename T> class Handle;
typedef List<Map*> MapList;
titzer 2013/12/17 09:13:07 I find it weird that these typedefs are already in
rossberg 2013/12/17 09:33:13 I don't think that they belong here either. Care t

Powered by Google App Engine
This is Rietveld 408576698