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/bootstrapper.h" | 8 #include "src/bootstrapper.h" |
9 #include "src/compilation-dependencies.h" | 9 #include "src/compilation-dependencies.h" |
10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
(...skipping 1943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1954 | 1954 |
1955 Type* Typer::Visitor::TypeWord64Ror(Node* node) { return Type::Internal(); } | 1955 Type* Typer::Visitor::TypeWord64Ror(Node* node) { return Type::Internal(); } |
1956 | 1956 |
1957 | 1957 |
1958 Type* Typer::Visitor::TypeWord64Clz(Node* node) { return Type::Internal(); } | 1958 Type* Typer::Visitor::TypeWord64Clz(Node* node) { return Type::Internal(); } |
1959 | 1959 |
1960 | 1960 |
1961 Type* Typer::Visitor::TypeWord64Ctz(Node* node) { return Type::Internal(); } | 1961 Type* Typer::Visitor::TypeWord64Ctz(Node* node) { return Type::Internal(); } |
1962 | 1962 |
1963 | 1963 |
| 1964 Type* Typer::Visitor::TypeWord64Popcnt(Node* node) { return Type::Internal(); } |
| 1965 |
| 1966 |
1964 Type* Typer::Visitor::TypeWord64Equal(Node* node) { return Type::Boolean(); } | 1967 Type* Typer::Visitor::TypeWord64Equal(Node* node) { return Type::Boolean(); } |
1965 | 1968 |
1966 | 1969 |
1967 Type* Typer::Visitor::TypeInt32Add(Node* node) { return Type::Integral32(); } | 1970 Type* Typer::Visitor::TypeInt32Add(Node* node) { return Type::Integral32(); } |
1968 | 1971 |
1969 | 1972 |
1970 Type* Typer::Visitor::TypeInt32AddWithOverflow(Node* node) { | 1973 Type* Typer::Visitor::TypeInt32AddWithOverflow(Node* node) { |
1971 return Type::Internal(); | 1974 return Type::Internal(); |
1972 } | 1975 } |
1973 | 1976 |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2287 } | 2290 } |
2288 if (Type::IsInteger(*value)) { | 2291 if (Type::IsInteger(*value)) { |
2289 return Type::Range(value->Number(), value->Number(), zone()); | 2292 return Type::Range(value->Number(), value->Number(), zone()); |
2290 } | 2293 } |
2291 return Type::Constant(value, zone()); | 2294 return Type::Constant(value, zone()); |
2292 } | 2295 } |
2293 | 2296 |
2294 } // namespace compiler | 2297 } // namespace compiler |
2295 } // namespace internal | 2298 } // namespace internal |
2296 } // namespace v8 | 2299 } // namespace v8 |
OLD | NEW |