| 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 2505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2516 | 2516 |
| 2517 | 2517 |
| 2518 Type* Typer::Visitor::TypeLoadFramePointer(Node* node) { | 2518 Type* Typer::Visitor::TypeLoadFramePointer(Node* node) { |
| 2519 return Type::Internal(); | 2519 return Type::Internal(); |
| 2520 } | 2520 } |
| 2521 | 2521 |
| 2522 Type* Typer::Visitor::TypeLoadParentFramePointer(Node* node) { | 2522 Type* Typer::Visitor::TypeLoadParentFramePointer(Node* node) { |
| 2523 return Type::Internal(); | 2523 return Type::Internal(); |
| 2524 } | 2524 } |
| 2525 | 2525 |
| 2526 Type* Typer::Visitor::TypeUnalignedLoad(Node* node) { return Type::Any(); } |
| 2527 |
| 2528 Type* Typer::Visitor::TypeUnalignedStore(Node* node) { |
| 2529 UNREACHABLE(); |
| 2530 return nullptr; |
| 2531 } |
| 2532 |
| 2526 Type* Typer::Visitor::TypeCheckedLoad(Node* node) { return Type::Any(); } | 2533 Type* Typer::Visitor::TypeCheckedLoad(Node* node) { return Type::Any(); } |
| 2527 | 2534 |
| 2528 Type* Typer::Visitor::TypeCheckedStore(Node* node) { | 2535 Type* Typer::Visitor::TypeCheckedStore(Node* node) { |
| 2529 UNREACHABLE(); | 2536 UNREACHABLE(); |
| 2530 return nullptr; | 2537 return nullptr; |
| 2531 } | 2538 } |
| 2532 | 2539 |
| 2533 Type* Typer::Visitor::TypeAtomicLoad(Node* node) { return Type::Any(); } | 2540 Type* Typer::Visitor::TypeAtomicLoad(Node* node) { return Type::Any(); } |
| 2534 | 2541 |
| 2535 Type* Typer::Visitor::TypeAtomicStore(Node* node) { | 2542 Type* Typer::Visitor::TypeAtomicStore(Node* node) { |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2581 } | 2588 } |
| 2582 if (Type::IsInteger(*value)) { | 2589 if (Type::IsInteger(*value)) { |
| 2583 return Type::Range(value->Number(), value->Number(), zone()); | 2590 return Type::Range(value->Number(), value->Number(), zone()); |
| 2584 } | 2591 } |
| 2585 return Type::Constant(value, zone()); | 2592 return Type::Constant(value, zone()); |
| 2586 } | 2593 } |
| 2587 | 2594 |
| 2588 } // namespace compiler | 2595 } // namespace compiler |
| 2589 } // namespace internal | 2596 } // namespace internal |
| 2590 } // namespace v8 | 2597 } // namespace v8 |
| OLD | NEW |