3a21737c6e796c523800f540afb802458b5b5b21
[platform/upstream/nodejs.git] / deps / v8 / src / compiler / graph-inl.h
1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef V8_COMPILER_GRAPH_INL_H_
6 #define V8_COMPILER_GRAPH_INL_H_
7
8 #include "src/compiler/generic-algorithm.h"
9 #include "src/compiler/graph.h"
10
11 namespace v8 {
12 namespace internal {
13 namespace compiler {
14
15 template <class Visitor>
16 void Graph::VisitNodeInputsFromEnd(Visitor* visitor) {
17   Zone tmp_zone;
18   GenericGraphVisit::Visit<Visitor>(this, &tmp_zone, end(), visitor);
19 }
20
21 }  // namespace compiler
22 }  // namespace internal
23 }  // namespace v8
24
25 #endif  // V8_COMPILER_GRAPH_INL_H_