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/access-builder.h" | 5 #include "src/compiler/access-builder.h" |
6 #include "src/compiler/common-operator.h" | 6 #include "src/compiler/common-operator.h" |
| 7 #include "src/compiler/generic-node-inl.h" |
7 #include "src/compiler/js-intrinsic-builder.h" | 8 #include "src/compiler/js-intrinsic-builder.h" |
8 #include "src/compiler/js-operator.h" | 9 #include "src/compiler/js-operator.h" |
9 #include "src/compiler/simplified-operator.h" | 10 #include "src/compiler/simplified-operator.h" |
10 | 11 |
11 | 12 |
12 namespace v8 { | 13 namespace v8 { |
13 namespace internal { | 14 namespace internal { |
14 namespace compiler { | 15 namespace compiler { |
15 | 16 |
16 ResultAndEffect JSIntrinsicBuilder::BuildGraphFor(Runtime::FunctionId id, | 17 ResultAndEffect JSIntrinsicBuilder::BuildGraphFor(Runtime::FunctionId id, |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 phi_is_value, merge); | 149 phi_is_value, merge); |
149 | 150 |
150 Node* ephi = | 151 Node* ephi = |
151 graph()->NewNode(common()->EffectPhi(2), effect, instance_type, merge); | 152 graph()->NewNode(common()->EffectPhi(2), effect, instance_type, merge); |
152 | 153 |
153 return ResultAndEffect(phi, ephi); | 154 return ResultAndEffect(phi, ephi); |
154 } | 155 } |
155 } | 156 } |
156 } | 157 } |
157 } // namespace v8::internal::compiler | 158 } // namespace v8::internal::compiler |
OLD | NEW |