OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #include "src/compiler/js-type-feedback-lowering.h" | 5 #include "src/compiler/js-type-feedback-lowering.h" |
6 | 6 |
7 #include "src/compiler/access-builder.h" | 7 #include "src/compiler/access-builder.h" |
8 #include "src/compiler/js-graph.h" | 8 #include "src/compiler/js-graph.h" |
9 #include "src/compiler/node-properties.h" | 9 #include "src/compiler/node-properties.h" |
| 10 #include "src/objects-inl.h" // TODO(mstarzinger): Temporary cycle breaker! |
| 11 #include "src/type-feedback-vector.h" |
10 | 12 |
11 namespace v8 { | 13 namespace v8 { |
12 namespace internal { | 14 namespace internal { |
13 namespace compiler { | 15 namespace compiler { |
14 | 16 |
15 JSTypeFeedbackLowering::JSTypeFeedbackLowering(Editor* editor, Flags flags, | 17 JSTypeFeedbackLowering::JSTypeFeedbackLowering(Editor* editor, Flags flags, |
16 JSGraph* jsgraph) | 18 JSGraph* jsgraph) |
17 : AdvancedReducer(editor), | 19 : AdvancedReducer(editor), |
18 flags_(flags), | 20 flags_(flags), |
19 jsgraph_(jsgraph), | 21 jsgraph_(jsgraph), |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 } | 110 } |
109 | 111 |
110 | 112 |
111 MachineOperatorBuilder* JSTypeFeedbackLowering::machine() const { | 113 MachineOperatorBuilder* JSTypeFeedbackLowering::machine() const { |
112 return jsgraph()->machine(); | 114 return jsgraph()->machine(); |
113 } | 115 } |
114 | 116 |
115 } // namespace compiler | 117 } // namespace compiler |
116 } // namespace internal | 118 } // namespace internal |
117 } // namespace v8 | 119 } // namespace v8 |
OLD | NEW |