Index: test/cctest/compiler/test-node-cache.cc |
diff --git a/test/cctest/compiler/test-node-cache.cc b/test/cctest/compiler/test-node-cache.cc |
index a48adb9acc32f781bfd667dbb2a357dd8bcadf62..835c028b38b2803dd5227ee8a7b2dd9ea3266895 100644 |
--- a/test/cctest/compiler/test-node-cache.cc |
+++ b/test/cctest/compiler/test-node-cache.cc |
@@ -115,7 +115,7 @@ TEST(Int64Constant_hits) { |
} |
-static bool Contains(NodeVector* nodes, Node* n) { |
+static bool Contains(ZoneVector<Node*>* nodes, Node* n) { |
for (size_t i = 0; i < nodes->size(); i++) { |
if (nodes->at(i) == n) return true; |
} |
@@ -135,11 +135,11 @@ TEST(NodeCache_GetCachedNodes_int32) { |
int32_t k = constants[i]; |
Node** pos = cache.Find(graph.zone(), k); |
if (*pos != NULL) { |
- NodeVector nodes(graph.zone()); |
+ ZoneVector<Node*> nodes(graph.zone()); |
cache.GetCachedNodes(&nodes); |
CHECK(Contains(&nodes, *pos)); |
} else { |
- NodeVector nodes(graph.zone()); |
+ ZoneVector<Node*> nodes(graph.zone()); |
Node* n = graph.NewNode(common.Int32Constant(k)); |
*pos = n; |
cache.GetCachedNodes(&nodes); |
@@ -161,11 +161,11 @@ TEST(NodeCache_GetCachedNodes_int64) { |
int64_t k = constants[i]; |
Node** pos = cache.Find(graph.zone(), k); |
if (*pos != NULL) { |
- NodeVector nodes(graph.zone()); |
+ ZoneVector<Node*> nodes(graph.zone()); |
cache.GetCachedNodes(&nodes); |
CHECK(Contains(&nodes, *pos)); |
} else { |
- NodeVector nodes(graph.zone()); |
+ ZoneVector<Node*> nodes(graph.zone()); |
Node* n = graph.NewNode(common.Int64Constant(k)); |
*pos = n; |
cache.GetCachedNodes(&nodes); |