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 #include "src/compiler/simplified-operator-reducer.h" | 5 #include "src/compiler/simplified-operator-reducer.h" |
6 | 6 |
7 #include "src/compiler/js-graph.h" | 7 #include "src/compiler/js-graph.h" |
8 #include "src/compiler/machine-operator.h" | 8 #include "src/compiler/machine-operator.h" |
9 #include "src/compiler/node-matchers.h" | 9 #include "src/compiler/node-matchers.h" |
10 #include "src/compiler/operator-properties.h" | 10 #include "src/compiler/operator-properties.h" |
11 #include "src/compiler/simplified-operator.h" | 11 #include "src/compiler/simplified-operator.h" |
| 12 #include "src/compiler/type-cache.h" |
12 #include "src/conversions-inl.h" | 13 #include "src/conversions-inl.h" |
13 #include "src/type-cache.h" | |
14 | 14 |
15 namespace v8 { | 15 namespace v8 { |
16 namespace internal { | 16 namespace internal { |
17 namespace compiler { | 17 namespace compiler { |
18 | 18 |
19 namespace { | 19 namespace { |
20 | 20 |
21 Decision DecideObjectIsSmi(Node* const input) { | 21 Decision DecideObjectIsSmi(Node* const input) { |
22 NumberMatcher m(input); | 22 NumberMatcher m(input); |
23 if (m.HasValue()) { | 23 if (m.HasValue()) { |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 return jsgraph()->isolate(); | 233 return jsgraph()->isolate(); |
234 } | 234 } |
235 | 235 |
236 MachineOperatorBuilder* SimplifiedOperatorReducer::machine() const { | 236 MachineOperatorBuilder* SimplifiedOperatorReducer::machine() const { |
237 return jsgraph()->machine(); | 237 return jsgraph()->machine(); |
238 } | 238 } |
239 | 239 |
240 } // namespace compiler | 240 } // namespace compiler |
241 } // namespace internal | 241 } // namespace internal |
242 } // namespace v8 | 242 } // namespace v8 |
OLD | NEW |