| 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 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 706 } | 706 } |
| 707 return type; | 707 return type; |
| 708 } | 708 } |
| 709 | 709 |
| 710 | 710 |
| 711 Type* Typer::Visitor::TypeEffectPhi(Node* node) { | 711 Type* Typer::Visitor::TypeEffectPhi(Node* node) { |
| 712 UNREACHABLE(); | 712 UNREACHABLE(); |
| 713 return nullptr; | 713 return nullptr; |
| 714 } | 714 } |
| 715 | 715 |
| 716 Type* Typer::Visitor::TypeLoopExit(Node* node) { |
| 717 UNREACHABLE(); |
| 718 return nullptr; |
| 719 } |
| 720 |
| 721 Type* Typer::Visitor::TypeLoopExitMarker(Node* node) { |
| 722 return Operand(node, 0); |
| 723 } |
| 724 |
| 725 Type* Typer::Visitor::TypeLoopExitEffect(Node* node) { |
| 726 UNREACHABLE(); |
| 727 return nullptr; |
| 728 } |
| 729 |
| 716 Type* Typer::Visitor::TypeCheckpoint(Node* node) { | 730 Type* Typer::Visitor::TypeCheckpoint(Node* node) { |
| 717 UNREACHABLE(); | 731 UNREACHABLE(); |
| 718 return nullptr; | 732 return nullptr; |
| 719 } | 733 } |
| 720 | 734 |
| 721 Type* Typer::Visitor::TypeBeginRegion(Node* node) { | 735 Type* Typer::Visitor::TypeBeginRegion(Node* node) { |
| 722 UNREACHABLE(); | 736 UNREACHABLE(); |
| 723 return nullptr; | 737 return nullptr; |
| 724 } | 738 } |
| 725 | 739 |
| (...skipping 1791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2517 } | 2531 } |
| 2518 if (Type::IsInteger(*value)) { | 2532 if (Type::IsInteger(*value)) { |
| 2519 return Type::Range(value->Number(), value->Number(), zone()); | 2533 return Type::Range(value->Number(), value->Number(), zone()); |
| 2520 } | 2534 } |
| 2521 return Type::Constant(value, zone()); | 2535 return Type::Constant(value, zone()); |
| 2522 } | 2536 } |
| 2523 | 2537 |
| 2524 } // namespace compiler | 2538 } // namespace compiler |
| 2525 } // namespace internal | 2539 } // namespace internal |
| 2526 } // namespace v8 | 2540 } // namespace v8 |
| OLD | NEW |