Index: src/compiler/generic-algorithm.h |
diff --git a/src/compiler/generic-algorithm.h b/src/compiler/generic-algorithm.h |
index c4681f95139447805eb9df5ab1fa64990379e81c..c75f9cf335f81cdfb559f4ea33db2f90b8407ffd 100644 |
--- a/src/compiler/generic-algorithm.h |
+++ b/src/compiler/generic-algorithm.h |
@@ -5,7 +5,6 @@ |
#ifndef V8_COMPILER_GENERIC_ALGORITHM_H_ |
#define V8_COMPILER_GENERIC_ALGORITHM_H_ |
-#include <deque> |
#include <stack> |
#include "src/compiler/generic-graph.h" |
@@ -45,10 +44,9 @@ class GenericGraphVisit { |
typedef typename Traits::Iterator Iterator; |
typedef std::pair<Iterator, Iterator> NodeState; |
typedef zone_allocator<NodeState> ZoneNodeStateAllocator; |
- typedef std::deque<NodeState, ZoneNodeStateAllocator> NodeStateDeque; |
- typedef std::stack<NodeState, NodeStateDeque> NodeStateStack; |
- NodeStateStack stack((NodeStateDeque(ZoneNodeStateAllocator(zone)))); |
- BoolVector visited(Traits::max_id(graph), false, ZoneBoolAllocator(zone)); |
+ typedef std::stack<NodeState, ZoneDeque<NodeState>> NodeStateStack; |
+ NodeStateStack stack((ZoneDeque<NodeState>(zone))); |
+ BoolVector visited(Traits::max_id(graph), false, zone); |
Node* current = *root_begin; |
while (true) { |
DCHECK(current != NULL); |