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/diamond.h" | 7 #include "src/compiler/diamond.h" |
8 #include "src/compiler/generic-node-inl.h" | |
9 #include "src/compiler/js-intrinsic-builder.h" | 8 #include "src/compiler/js-intrinsic-builder.h" |
10 #include "src/compiler/js-operator.h" | 9 #include "src/compiler/js-operator.h" |
11 #include "src/compiler/simplified-operator.h" | 10 #include "src/compiler/simplified-operator.h" |
12 | 11 |
13 | 12 |
14 namespace v8 { | 13 namespace v8 { |
15 namespace internal { | 14 namespace internal { |
16 namespace compiler { | 15 namespace compiler { |
17 | 16 |
18 ResultAndEffect JSIntrinsicBuilder::BuildGraphFor(Runtime::FunctionId id, | 17 ResultAndEffect JSIntrinsicBuilder::BuildGraphFor(Runtime::FunctionId id, |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 | 131 |
133 Node* phi = if_is_smi.Phi(kTypeAny, object, phi_is_value); | 132 Node* phi = if_is_smi.Phi(kTypeAny, object, phi_is_value); |
134 | 133 |
135 Node* ephi = if_is_smi.EffectPhi(effect, instance_type); | 134 Node* ephi = if_is_smi.EffectPhi(effect, instance_type); |
136 | 135 |
137 return ResultAndEffect(phi, ephi); | 136 return ResultAndEffect(phi, ephi); |
138 } | 137 } |
139 } | 138 } |
140 } | 139 } |
141 } // namespace v8::internal::compiler | 140 } // namespace v8::internal::compiler |
OLD | NEW |