| Index: test/cctest/compiler/test-graph-reducer.cc
|
| diff --git a/test/cctest/compiler/test-graph-reducer.cc b/test/cctest/compiler/test-graph-reducer.cc
|
| index 70b57b9da99751456864c5f0f3121c08f2b7c0e2..d425c90aae2635c600220805e2189ed133f10dcc 100644
|
| --- a/test/cctest/compiler/test-graph-reducer.cc
|
| +++ b/test/cctest/compiler/test-graph-reducer.cc
|
| @@ -2,10 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include <set>
|
| +
|
| #include "src/v8.h"
|
|
|
| #include "graph-tester.h"
|
| #include "src/compiler/graph-reducer.h"
|
| +#include "src/compiler/node.h"
|
| +#include "src/compiler/operator.h"
|
|
|
| using namespace v8::internal;
|
| using namespace v8::internal::compiler;
|
| @@ -181,6 +185,7 @@ class AB2Sorter : public Reducer {
|
| // Simply records the nodes visited.
|
| class ReducerRecorder : public Reducer {
|
| public:
|
| + typedef std::set<Node*, std::less<Node*>, zone_allocator<Node*>> NodeSet;
|
| explicit ReducerRecorder(Zone* zone)
|
| : set(NodeSet::key_compare(), NodeSet::allocator_type(zone)) {}
|
| virtual Reduction Reduce(Node* node) {
|
|
|