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-intrinsic-lowering.h" | 5 #include "src/compiler/js-intrinsic-lowering.h" |
6 | 6 |
7 #include <stack> | 7 #include <stack> |
8 | 8 |
9 #include "src/compiler/access-builder.h" | 9 #include "src/compiler/access-builder.h" |
10 #include "src/compiler/js-graph.h" | 10 #include "src/compiler/js-graph.h" |
11 #include "src/compiler/node-matchers.h" | 11 #include "src/compiler/node-matchers.h" |
12 #include "src/compiler/node-properties.h" | 12 #include "src/compiler/node-properties.h" |
13 #include "src/compiler/operator-properties.h" | 13 #include "src/compiler/operator-properties.h" |
| 14 #include "src/counters.h" |
| 15 #include "src/objects-inl.h" |
14 | 16 |
15 namespace v8 { | 17 namespace v8 { |
16 namespace internal { | 18 namespace internal { |
17 namespace compiler { | 19 namespace compiler { |
18 | 20 |
19 JSIntrinsicLowering::JSIntrinsicLowering(Editor* editor, JSGraph* jsgraph, | 21 JSIntrinsicLowering::JSIntrinsicLowering(Editor* editor, JSGraph* jsgraph, |
20 DeoptimizationMode mode) | 22 DeoptimizationMode mode) |
21 : AdvancedReducer(editor), | 23 : AdvancedReducer(editor), |
22 jsgraph_(jsgraph), | 24 jsgraph_(jsgraph), |
23 mode_(mode), | 25 mode_(mode), |
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 } | 607 } |
606 | 608 |
607 | 609 |
608 MachineOperatorBuilder* JSIntrinsicLowering::machine() const { | 610 MachineOperatorBuilder* JSIntrinsicLowering::machine() const { |
609 return jsgraph()->machine(); | 611 return jsgraph()->machine(); |
610 } | 612 } |
611 | 613 |
612 } // namespace compiler | 614 } // namespace compiler |
613 } // namespace internal | 615 } // namespace internal |
614 } // namespace v8 | 616 } // namespace v8 |
OLD | NEW |