OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_COMPILER_GRAPH_BUILDER_H_ | 5 #ifndef V8_COMPILER_GRAPH_BUILDER_H_ |
6 #define V8_COMPILER_GRAPH_BUILDER_H_ | 6 #define V8_COMPILER_GRAPH_BUILDER_H_ |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 protected: | 70 protected: |
71 // Base implementation used by all factory methods. | 71 // Base implementation used by all factory methods. |
72 virtual Node* MakeNode(const Operator* op, int value_input_count, | 72 virtual Node* MakeNode(const Operator* op, int value_input_count, |
73 Node** value_inputs, bool incomplete) = 0; | 73 Node** value_inputs, bool incomplete) = 0; |
74 | 74 |
75 private: | 75 private: |
76 Isolate* isolate_; | 76 Isolate* isolate_; |
77 Graph* graph_; | 77 Graph* graph_; |
78 }; | 78 }; |
79 | 79 |
80 } | 80 } // namespace compiler |
81 } | 81 } // namespace internal |
82 } // namespace v8::internal::compiler | 82 } // namespace v8 |
83 | 83 |
84 #endif // V8_COMPILER_GRAPH_BUILDER_H__ | 84 #endif // V8_COMPILER_GRAPH_BUILDER_H__ |
OLD | NEW |