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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 Isolate* isolate() const { return zone()->isolate(); } | 53 Isolate* isolate() const { return zone()->isolate(); } |
54 JSGraph* jsgraph() const { return jsgraph_; } | 54 JSGraph* jsgraph() const { return jsgraph_; } |
55 Graph* graph() const { return jsgraph()->graph(); } | 55 Graph* graph() const { return jsgraph()->graph(); } |
56 Linkage* linkage() const { return linkage_; } | 56 Linkage* linkage() const { return linkage_; } |
57 CompilationInfo* info() const { return info_; } | 57 CompilationInfo* info() const { return info_; } |
58 CommonOperatorBuilder* common() const { return jsgraph()->common(); } | 58 CommonOperatorBuilder* common() const { return jsgraph()->common(); } |
59 MachineOperatorBuilder* machine() const { return jsgraph()->machine(); } | 59 MachineOperatorBuilder* machine() const { return jsgraph()->machine(); } |
60 | 60 |
61 private: | 61 private: |
62 CompilationInfo* info_; | 62 CompilationInfo* info_; |
63 SetOncePointer<Node> info_context_constant_; | |
64 JSGraph* jsgraph_; | 63 JSGraph* jsgraph_; |
65 Linkage* linkage_; | 64 Linkage* linkage_; |
66 }; | 65 }; |
67 | 66 |
68 } // namespace compiler | 67 } // namespace compiler |
69 } // namespace internal | 68 } // namespace internal |
70 } // namespace v8 | 69 } // namespace v8 |
71 | 70 |
72 #endif // V8_COMPILER_JS_GENERIC_LOWERING_H_ | 71 #endif // V8_COMPILER_JS_GENERIC_LOWERING_H_ |
OLD | NEW |