| 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/typer.h" | 5 #include "src/compiler/typer.h" |
| 6 | 6 |
| 7 #include "src/base/flags.h" | 7 #include "src/base/flags.h" |
| 8 #include "src/base/lazy-instance.h" | 8 #include "src/base/lazy-instance.h" |
| 9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
| 10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
| (...skipping 1680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1691 | 1691 |
| 1692 Type* Typer::Visitor::TypeWord32Ror(Node* node) { return Type::Integral32(); } | 1692 Type* Typer::Visitor::TypeWord32Ror(Node* node) { return Type::Integral32(); } |
| 1693 | 1693 |
| 1694 | 1694 |
| 1695 Type* Typer::Visitor::TypeWord32Equal(Node* node) { return Type::Boolean(); } | 1695 Type* Typer::Visitor::TypeWord32Equal(Node* node) { return Type::Boolean(); } |
| 1696 | 1696 |
| 1697 | 1697 |
| 1698 Type* Typer::Visitor::TypeWord32Clz(Node* node) { return Type::Integral32(); } | 1698 Type* Typer::Visitor::TypeWord32Clz(Node* node) { return Type::Integral32(); } |
| 1699 | 1699 |
| 1700 | 1700 |
| 1701 Type* Typer::Visitor::TypeWord32Ctz(Node* node) { return Type::Integral32(); } |
| 1702 |
| 1703 |
| 1701 Type* Typer::Visitor::TypeWord64And(Node* node) { return Type::Internal(); } | 1704 Type* Typer::Visitor::TypeWord64And(Node* node) { return Type::Internal(); } |
| 1702 | 1705 |
| 1703 | 1706 |
| 1704 Type* Typer::Visitor::TypeWord64Or(Node* node) { return Type::Internal(); } | 1707 Type* Typer::Visitor::TypeWord64Or(Node* node) { return Type::Internal(); } |
| 1705 | 1708 |
| 1706 | 1709 |
| 1707 Type* Typer::Visitor::TypeWord64Xor(Node* node) { return Type::Internal(); } | 1710 Type* Typer::Visitor::TypeWord64Xor(Node* node) { return Type::Internal(); } |
| 1708 | 1711 |
| 1709 | 1712 |
| 1710 Type* Typer::Visitor::TypeWord64Shl(Node* node) { return Type::Internal(); } | 1713 Type* Typer::Visitor::TypeWord64Shl(Node* node) { return Type::Internal(); } |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2097 } | 2100 } |
| 2098 if (Type::IsInteger(*value)) { | 2101 if (Type::IsInteger(*value)) { |
| 2099 return Type::Range(value->Number(), value->Number(), zone()); | 2102 return Type::Range(value->Number(), value->Number(), zone()); |
| 2100 } | 2103 } |
| 2101 return Type::Constant(value, zone()); | 2104 return Type::Constant(value, zone()); |
| 2102 } | 2105 } |
| 2103 | 2106 |
| 2104 } // namespace compiler | 2107 } // namespace compiler |
| 2105 } // namespace internal | 2108 } // namespace internal |
| 2106 } // namespace v8 | 2109 } // namespace v8 |
| OLD | NEW |