OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_JS_GENERIC_LOWERING_H_ | 5 #ifndef V8_COMPILER_JS_GENERIC_LOWERING_H_ |
6 #define V8_COMPILER_JS_GENERIC_LOWERING_H_ | 6 #define V8_COMPILER_JS_GENERIC_LOWERING_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/code-factory.h" | 9 #include "src/code-factory.h" |
10 #include "src/compiler/graph.h" | 10 #include "src/compiler/graph.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 Graph* graph() const { return jsgraph()->graph(); } | 59 Graph* graph() const { return jsgraph()->graph(); } |
60 Linkage* linkage() const { return linkage_; } | 60 Linkage* linkage() const { return linkage_; } |
61 CompilationInfo* info() const { return info_; } | 61 CompilationInfo* info() const { return info_; } |
62 CommonOperatorBuilder* common() const { return jsgraph()->common(); } | 62 CommonOperatorBuilder* common() const { return jsgraph()->common(); } |
63 MachineOperatorBuilder* machine() const { return jsgraph()->machine(); } | 63 MachineOperatorBuilder* machine() const { return jsgraph()->machine(); } |
64 | 64 |
65 private: | 65 private: |
66 CompilationInfo* info_; | 66 CompilationInfo* info_; |
67 JSGraph* jsgraph_; | 67 JSGraph* jsgraph_; |
68 Linkage* linkage_; | 68 Linkage* linkage_; |
69 SetOncePointer<Node> centrystub_constant_; | |
70 }; | 69 }; |
71 | 70 |
72 } // namespace compiler | 71 } // namespace compiler |
73 } // namespace internal | 72 } // namespace internal |
74 } // namespace v8 | 73 } // namespace v8 |
75 | 74 |
76 #endif // V8_COMPILER_JS_GENERIC_LOWERING_H_ | 75 #endif // V8_COMPILER_JS_GENERIC_LOWERING_H_ |
OLD | NEW |