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 "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-inl.h" | 9 #include "src/compiler/node-properties.h" |
10 | 10 |
11 namespace v8 { | 11 namespace v8 { |
12 namespace internal { | 12 namespace internal { |
13 namespace compiler { | 13 namespace compiler { |
14 | 14 |
15 JSIntrinsicLowering::JSIntrinsicLowering(JSGraph* jsgraph) | 15 JSIntrinsicLowering::JSIntrinsicLowering(JSGraph* jsgraph) |
16 : jsgraph_(jsgraph), simplified_(jsgraph->zone()) {} | 16 : jsgraph_(jsgraph), simplified_(jsgraph->zone()) {} |
17 | 17 |
18 | 18 |
19 Reduction JSIntrinsicLowering::Reduce(Node* node) { | 19 Reduction JSIntrinsicLowering::Reduce(Node* node) { |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 } | 185 } |
186 | 186 |
187 | 187 |
188 MachineOperatorBuilder* JSIntrinsicLowering::machine() const { | 188 MachineOperatorBuilder* JSIntrinsicLowering::machine() const { |
189 return jsgraph()->machine(); | 189 return jsgraph()->machine(); |
190 } | 190 } |
191 | 191 |
192 } // namespace compiler | 192 } // namespace compiler |
193 } // namespace internal | 193 } // namespace internal |
194 } // namespace v8 | 194 } // namespace v8 |
OLD | NEW |