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