| 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 1240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1251 Type* Typer::Visitor::TypeJSStoreNamedOwn(Node* node) { | 1251 Type* Typer::Visitor::TypeJSStoreNamedOwn(Node* node) { |
| 1252 UNREACHABLE(); | 1252 UNREACHABLE(); |
| 1253 return nullptr; | 1253 return nullptr; |
| 1254 } | 1254 } |
| 1255 | 1255 |
| 1256 Type* Typer::Visitor::TypeJSStoreDataPropertyInLiteral(Node* node) { | 1256 Type* Typer::Visitor::TypeJSStoreDataPropertyInLiteral(Node* node) { |
| 1257 UNREACHABLE(); | 1257 UNREACHABLE(); |
| 1258 return nullptr; | 1258 return nullptr; |
| 1259 } | 1259 } |
| 1260 | 1260 |
| 1261 Type* Typer::Visitor::TypeJSCollectTypeProfile(Node* node) { |
| 1262 UNREACHABLE(); |
| 1263 return nullptr; |
| 1264 } |
| 1265 |
| 1261 Type* Typer::Visitor::TypeJSDeleteProperty(Node* node) { | 1266 Type* Typer::Visitor::TypeJSDeleteProperty(Node* node) { |
| 1262 return Type::Boolean(); | 1267 return Type::Boolean(); |
| 1263 } | 1268 } |
| 1264 | 1269 |
| 1265 Type* Typer::Visitor::TypeJSHasProperty(Node* node) { return Type::Boolean(); } | 1270 Type* Typer::Visitor::TypeJSHasProperty(Node* node) { return Type::Boolean(); } |
| 1266 | 1271 |
| 1267 // JS instanceof operator. | 1272 // JS instanceof operator. |
| 1268 | 1273 |
| 1269 Type* Typer::Visitor::JSInstanceOfTyper(Type* lhs, Type* rhs, Typer* t) { | 1274 Type* Typer::Visitor::JSInstanceOfTyper(Type* lhs, Type* rhs, Typer* t) { |
| 1270 return Type::Boolean(); | 1275 return Type::Boolean(); |
| (...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1968 Type* Typer::Visitor::TypeConstant(Handle<Object> value) { | 1973 Type* Typer::Visitor::TypeConstant(Handle<Object> value) { |
| 1969 if (Type::IsInteger(*value)) { | 1974 if (Type::IsInteger(*value)) { |
| 1970 return Type::Range(value->Number(), value->Number(), zone()); | 1975 return Type::Range(value->Number(), value->Number(), zone()); |
| 1971 } | 1976 } |
| 1972 return Type::NewConstant(value, zone()); | 1977 return Type::NewConstant(value, zone()); |
| 1973 } | 1978 } |
| 1974 | 1979 |
| 1975 } // namespace compiler | 1980 } // namespace compiler |
| 1976 } // namespace internal | 1981 } // namespace internal |
| 1977 } // namespace v8 | 1982 } // namespace v8 |
| OLD | NEW |