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 1928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1939 | 1939 |
1940 Type* Typer::Visitor::TypeWord64Shr(Node* node) { return Type::Internal(); } | 1940 Type* Typer::Visitor::TypeWord64Shr(Node* node) { return Type::Internal(); } |
1941 | 1941 |
1942 | 1942 |
1943 Type* Typer::Visitor::TypeWord64Sar(Node* node) { return Type::Internal(); } | 1943 Type* Typer::Visitor::TypeWord64Sar(Node* node) { return Type::Internal(); } |
1944 | 1944 |
1945 | 1945 |
1946 Type* Typer::Visitor::TypeWord64Ror(Node* node) { return Type::Internal(); } | 1946 Type* Typer::Visitor::TypeWord64Ror(Node* node) { return Type::Internal(); } |
1947 | 1947 |
1948 | 1948 |
| 1949 Type* Typer::Visitor::TypeWord64Clz(Node* node) { return Type::Internal(); } |
| 1950 |
| 1951 |
1949 Type* Typer::Visitor::TypeWord64Equal(Node* node) { return Type::Boolean(); } | 1952 Type* Typer::Visitor::TypeWord64Equal(Node* node) { return Type::Boolean(); } |
1950 | 1953 |
1951 | 1954 |
1952 Type* Typer::Visitor::TypeInt32Add(Node* node) { return Type::Integral32(); } | 1955 Type* Typer::Visitor::TypeInt32Add(Node* node) { return Type::Integral32(); } |
1953 | 1956 |
1954 | 1957 |
1955 Type* Typer::Visitor::TypeInt32AddWithOverflow(Node* node) { | 1958 Type* Typer::Visitor::TypeInt32AddWithOverflow(Node* node) { |
1956 return Type::Internal(); | 1959 return Type::Internal(); |
1957 } | 1960 } |
1958 | 1961 |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2272 } | 2275 } |
2273 if (Type::IsInteger(*value)) { | 2276 if (Type::IsInteger(*value)) { |
2274 return Type::Range(value->Number(), value->Number(), zone()); | 2277 return Type::Range(value->Number(), value->Number(), zone()); |
2275 } | 2278 } |
2276 return Type::Constant(value, zone()); | 2279 return Type::Constant(value, zone()); |
2277 } | 2280 } |
2278 | 2281 |
2279 } // namespace compiler | 2282 } // namespace compiler |
2280 } // namespace internal | 2283 } // namespace internal |
2281 } // namespace v8 | 2284 } // namespace v8 |
OLD | NEW |