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 <iomanip> | 7 #include <iomanip> |
8 | 8 |
9 #include "src/base/flags.h" | 9 #include "src/base/flags.h" |
10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
(...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1249 Type* Typer::Visitor::TypeJSStoreGlobal(Node* node) { | 1249 Type* Typer::Visitor::TypeJSStoreGlobal(Node* node) { |
1250 UNREACHABLE(); | 1250 UNREACHABLE(); |
1251 return nullptr; | 1251 return nullptr; |
1252 } | 1252 } |
1253 | 1253 |
1254 Type* Typer::Visitor::TypeJSStoreDataPropertyInLiteral(Node* node) { | 1254 Type* Typer::Visitor::TypeJSStoreDataPropertyInLiteral(Node* node) { |
1255 UNREACHABLE(); | 1255 UNREACHABLE(); |
1256 return nullptr; | 1256 return nullptr; |
1257 } | 1257 } |
1258 | 1258 |
| 1259 Type* Typer::Visitor::TypeJSCollectTypeProfile(Node* node) { |
| 1260 UNREACHABLE(); |
| 1261 return nullptr; |
| 1262 } |
| 1263 |
1259 Type* Typer::Visitor::TypeJSDeleteProperty(Node* node) { | 1264 Type* Typer::Visitor::TypeJSDeleteProperty(Node* node) { |
1260 return Type::Boolean(); | 1265 return Type::Boolean(); |
1261 } | 1266 } |
1262 | 1267 |
1263 Type* Typer::Visitor::TypeJSHasProperty(Node* node) { return Type::Boolean(); } | 1268 Type* Typer::Visitor::TypeJSHasProperty(Node* node) { return Type::Boolean(); } |
1264 | 1269 |
1265 // JS instanceof operator. | 1270 // JS instanceof operator. |
1266 | 1271 |
1267 Type* Typer::Visitor::JSInstanceOfTyper(Type* lhs, Type* rhs, Typer* t) { | 1272 Type* Typer::Visitor::JSInstanceOfTyper(Type* lhs, Type* rhs, Typer* t) { |
1268 return Type::Boolean(); | 1273 return Type::Boolean(); |
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1943 Type* Typer::Visitor::TypeConstant(Handle<Object> value) { | 1948 Type* Typer::Visitor::TypeConstant(Handle<Object> value) { |
1944 if (Type::IsInteger(*value)) { | 1949 if (Type::IsInteger(*value)) { |
1945 return Type::Range(value->Number(), value->Number(), zone()); | 1950 return Type::Range(value->Number(), value->Number(), zone()); |
1946 } | 1951 } |
1947 return Type::NewConstant(value, zone()); | 1952 return Type::NewConstant(value, zone()); |
1948 } | 1953 } |
1949 | 1954 |
1950 } // namespace compiler | 1955 } // namespace compiler |
1951 } // namespace internal | 1956 } // namespace internal |
1952 } // namespace v8 | 1957 } // namespace v8 |
OLD | NEW |