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