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

Unified Diff: src/compiler/generic-node.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/generic-algorithm.h ('k') | src/compiler/generic-node-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/generic-node.h
diff --git a/src/compiler/generic-node.h b/src/compiler/generic-node.h
index 0cfba72bc967253952fb5a355352e8afcf956a89..d909943ccfe8b7ed063c0612d4a322fe0bba05f0 100644
--- a/src/compiler/generic-node.h
+++ b/src/compiler/generic-node.h
@@ -5,19 +5,14 @@
#ifndef V8_COMPILER_GENERIC_NODE_H_
#define V8_COMPILER_GENERIC_NODE_H_
-#include <deque>
-
#include "src/v8.h"
-#include "src/compiler/operator.h"
-#include "src/zone.h"
-#include "src/zone-allocator.h"
+#include "src/zone-containers.h"
namespace v8 {
namespace internal {
namespace compiler {
-class Operator;
class GenericGraphBase;
typedef int NodeId;
@@ -137,8 +132,7 @@ class GenericNode : public B {
private:
void AssignUniqueID(GenericGraphBase* graph);
- typedef zone_allocator<Input> ZoneInputAllocator;
- typedef std::deque<Input, ZoneInputAllocator> InputDeque;
+ typedef ZoneDeque<Input> InputDeque;
NodeId id_;
int input_count_ : 31;
« no previous file with comments | « src/compiler/generic-algorithm.h ('k') | src/compiler/generic-node-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698