| Index: src/compiler/graph.cc
|
| diff --git a/src/compiler/graph.cc b/src/compiler/graph.cc
|
| index 3f47eace8159e9d7ef97566db8bfe39a1e1acc8c..42f632ff7e599cdb31f43da46bd9fe5dd488de70 100644
|
| --- a/src/compiler/graph.cc
|
| +++ b/src/compiler/graph.cc
|
| @@ -18,16 +18,14 @@ namespace v8 {
|
| namespace internal {
|
| namespace compiler {
|
|
|
| -Graph::Graph(Zone* zone)
|
| - : GenericGraph<Node>(zone),
|
| - decorators_(DecoratorVector::allocator_type(zone)) {}
|
| +Graph::Graph(Zone* zone) : GenericGraph<Node>(zone), decorators_(zone) {}
|
|
|
|
|
| Node* Graph::NewNode(Operator* op, int input_count, Node** inputs) {
|
| DCHECK(op->InputCount() <= input_count);
|
| Node* result = Node::New(this, input_count, inputs);
|
| result->Initialize(op);
|
| - for (DecoratorVector::iterator i = decorators_.begin();
|
| + for (ZoneVector<GraphDecorator*>::iterator i = decorators_.begin();
|
| i != decorators_.end(); ++i) {
|
| (*i)->Decorate(result);
|
| }
|
|
|