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

Unified Diff: src/compiler/node-aux-data.h

Issue 505133003: Introduce subclass wrappers for STL containers that make them a lot easier (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | « src/compiler/node.h ('k') | src/compiler/node-aux-data-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/node-aux-data.h
diff --git a/src/compiler/node-aux-data.h b/src/compiler/node-aux-data.h
index 1e836338a989d739227af98285d6c82716c9b319..7acce33949fbe741b7b9f5907e8c6bab5c3f2a1b 100644
--- a/src/compiler/node-aux-data.h
+++ b/src/compiler/node-aux-data.h
@@ -5,9 +5,7 @@
#ifndef V8_COMPILER_NODE_AUX_DATA_H_
#define V8_COMPILER_NODE_AUX_DATA_H_
-#include <vector>
-
-#include "src/zone-allocator.h"
+#include "src/zone-containers.h"
namespace v8 {
namespace internal {
@@ -26,10 +24,7 @@ class NodeAuxData {
inline T Get(Node* node);
private:
- typedef zone_allocator<T> ZoneAllocator;
- typedef std::vector<T, ZoneAllocator> TZoneVector;
-
- TZoneVector aux_data_;
+ ZoneVector<T> aux_data_;
};
}
}
« no previous file with comments | « src/compiler/node.h ('k') | src/compiler/node-aux-data-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698