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/bootstrapper.h" | 5 #include "src/bootstrapper.h" |
6 #include "src/compiler/graph-inl.h" | 6 #include "src/compiler/graph-inl.h" |
7 #include "src/compiler/js-operator.h" | 7 #include "src/compiler/js-operator.h" |
8 #include "src/compiler/node.h" | 8 #include "src/compiler/node.h" |
9 #include "src/compiler/node-properties-inl.h" | 9 #include "src/compiler/node-properties-inl.h" |
10 #include "src/compiler/node-properties.h" | 10 #include "src/compiler/node-properties.h" |
(...skipping 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1221 return Bounds(); | 1221 return Bounds(); |
1222 } | 1222 } |
1223 | 1223 |
1224 | 1224 |
1225 Bounds Typer::Visitor::TypeStoreElement(Node* node) { | 1225 Bounds Typer::Visitor::TypeStoreElement(Node* node) { |
1226 UNREACHABLE(); | 1226 UNREACHABLE(); |
1227 return Bounds(); | 1227 return Bounds(); |
1228 } | 1228 } |
1229 | 1229 |
1230 | 1230 |
| 1231 Bounds Typer::Visitor::TypeObjectIsSmi(Node* node) { |
| 1232 return Bounds(Type::Boolean()); |
| 1233 } |
| 1234 |
| 1235 |
| 1236 Bounds Typer::Visitor::TypeObjectIsNonNegativeSmi(Node* node) { |
| 1237 return Bounds(Type::Boolean()); |
| 1238 } |
| 1239 |
| 1240 |
1231 // Machine operators. | 1241 // Machine operators. |
1232 | 1242 |
1233 Bounds Typer::Visitor::TypeLoad(Node* node) { | 1243 Bounds Typer::Visitor::TypeLoad(Node* node) { |
1234 return Bounds::Unbounded(zone()); | 1244 return Bounds::Unbounded(zone()); |
1235 } | 1245 } |
1236 | 1246 |
1237 | 1247 |
1238 Bounds Typer::Visitor::TypeStore(Node* node) { | 1248 Bounds Typer::Visitor::TypeStore(Node* node) { |
1239 UNREACHABLE(); | 1249 UNREACHABLE(); |
1240 return Bounds(); | 1250 return Bounds(); |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1625 return typer_->float64_array_fun_; | 1635 return typer_->float64_array_fun_; |
1626 } | 1636 } |
1627 } | 1637 } |
1628 } | 1638 } |
1629 return Type::Constant(value, zone()); | 1639 return Type::Constant(value, zone()); |
1630 } | 1640 } |
1631 | 1641 |
1632 } | 1642 } |
1633 } | 1643 } |
1634 } // namespace v8::internal::compiler | 1644 } // namespace v8::internal::compiler |
OLD | NEW |