| 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 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1226 UNREACHABLE(); | 1226 UNREACHABLE(); |
| 1227 return nullptr; | 1227 return nullptr; |
| 1228 } | 1228 } |
| 1229 | 1229 |
| 1230 | 1230 |
| 1231 Type* Typer::Visitor::TypeJSStoreGlobal(Node* node) { | 1231 Type* Typer::Visitor::TypeJSStoreGlobal(Node* node) { |
| 1232 UNREACHABLE(); | 1232 UNREACHABLE(); |
| 1233 return nullptr; | 1233 return nullptr; |
| 1234 } | 1234 } |
| 1235 | 1235 |
| 1236 Type* Typer::Visitor::TypeJSStoreDataPropertyInLiteral(Node* node) { |
| 1237 UNREACHABLE(); |
| 1238 return nullptr; |
| 1239 } |
| 1236 | 1240 |
| 1237 Type* Typer::Visitor::TypeJSDeleteProperty(Node* node) { | 1241 Type* Typer::Visitor::TypeJSDeleteProperty(Node* node) { |
| 1238 return Type::Boolean(); | 1242 return Type::Boolean(); |
| 1239 } | 1243 } |
| 1240 | 1244 |
| 1241 Type* Typer::Visitor::TypeJSHasProperty(Node* node) { return Type::Boolean(); } | 1245 Type* Typer::Visitor::TypeJSHasProperty(Node* node) { return Type::Boolean(); } |
| 1242 | 1246 |
| 1243 Type* Typer::Visitor::TypeJSInstanceOf(Node* node) { return Type::Boolean(); } | 1247 Type* Typer::Visitor::TypeJSInstanceOf(Node* node) { return Type::Boolean(); } |
| 1244 | 1248 |
| 1245 Type* Typer::Visitor::TypeJSOrdinaryHasInstance(Node* node) { | 1249 Type* Typer::Visitor::TypeJSOrdinaryHasInstance(Node* node) { |
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1761 Type* Typer::Visitor::TypeConstant(Handle<Object> value) { | 1765 Type* Typer::Visitor::TypeConstant(Handle<Object> value) { |
| 1762 if (Type::IsInteger(*value)) { | 1766 if (Type::IsInteger(*value)) { |
| 1763 return Type::Range(value->Number(), value->Number(), zone()); | 1767 return Type::Range(value->Number(), value->Number(), zone()); |
| 1764 } | 1768 } |
| 1765 return Type::NewConstant(value, zone()); | 1769 return Type::NewConstant(value, zone()); |
| 1766 } | 1770 } |
| 1767 | 1771 |
| 1768 } // namespace compiler | 1772 } // namespace compiler |
| 1769 } // namespace internal | 1773 } // namespace internal |
| 1770 } // namespace v8 | 1774 } // namespace v8 |
| OLD | NEW |