| 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 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 718 return nullptr; | 718 return nullptr; |
| 719 } | 719 } |
| 720 | 720 |
| 721 Type* Typer::Visitor::TypeLoopExitValue(Node* node) { return Operand(node, 0); } | 721 Type* Typer::Visitor::TypeLoopExitValue(Node* node) { return Operand(node, 0); } |
| 722 | 722 |
| 723 Type* Typer::Visitor::TypeLoopExitEffect(Node* node) { | 723 Type* Typer::Visitor::TypeLoopExitEffect(Node* node) { |
| 724 UNREACHABLE(); | 724 UNREACHABLE(); |
| 725 return nullptr; | 725 return nullptr; |
| 726 } | 726 } |
| 727 | 727 |
| 728 Type* Typer::Visitor::TypeTransitionElementsKind(Node* node) { |
| 729 UNREACHABLE(); |
| 730 return nullptr; |
| 731 } |
| 732 |
| 728 Type* Typer::Visitor::TypeCheckpoint(Node* node) { | 733 Type* Typer::Visitor::TypeCheckpoint(Node* node) { |
| 729 UNREACHABLE(); | 734 UNREACHABLE(); |
| 730 return nullptr; | 735 return nullptr; |
| 731 } | 736 } |
| 732 | 737 |
| 733 Type* Typer::Visitor::TypeBeginRegion(Node* node) { | 738 Type* Typer::Visitor::TypeBeginRegion(Node* node) { |
| 734 UNREACHABLE(); | 739 UNREACHABLE(); |
| 735 return nullptr; | 740 return nullptr; |
| 736 } | 741 } |
| 737 | 742 |
| (...skipping 1797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2535 } | 2540 } |
| 2536 if (Type::IsInteger(*value)) { | 2541 if (Type::IsInteger(*value)) { |
| 2537 return Type::Range(value->Number(), value->Number(), zone()); | 2542 return Type::Range(value->Number(), value->Number(), zone()); |
| 2538 } | 2543 } |
| 2539 return Type::Constant(value, zone()); | 2544 return Type::Constant(value, zone()); |
| 2540 } | 2545 } |
| 2541 | 2546 |
| 2542 } // namespace compiler | 2547 } // namespace compiler |
| 2543 } // namespace internal | 2548 } // namespace internal |
| 2544 } // namespace v8 | 2549 } // namespace v8 |
| OLD | NEW |