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/base/flags.h" | 5 #include "src/base/flags.h" |
6 #include "src/bootstrapper.h" | 6 #include "src/bootstrapper.h" |
7 #include "src/compiler/graph-reducer.h" | 7 #include "src/compiler/graph-reducer.h" |
8 #include "src/compiler/js-operator.h" | 8 #include "src/compiler/js-operator.h" |
9 #include "src/compiler/node.h" | 9 #include "src/compiler/node.h" |
10 #include "src/compiler/node-properties.h" | 10 #include "src/compiler/node-properties.h" |
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 UNREACHABLE(); | 735 UNREACHABLE(); |
736 return Bounds(); | 736 return Bounds(); |
737 } | 737 } |
738 | 738 |
739 | 739 |
740 Bounds Typer::Visitor::TypeFinish(Node* node) { | 740 Bounds Typer::Visitor::TypeFinish(Node* node) { |
741 return Operand(node, 0); | 741 return Operand(node, 0); |
742 } | 742 } |
743 | 743 |
744 | 744 |
| 745 Bounds Typer::Visitor::TypeDeadValue(Node* node) { |
| 746 return Bounds(Type::None(zone()), Type::Any(zone())); |
| 747 } |
| 748 |
| 749 |
| 750 Bounds Typer::Visitor::TypeDeadEffect(Node* node) { |
| 751 UNREACHABLE(); |
| 752 return Bounds(); |
| 753 } |
| 754 |
| 755 |
745 Bounds Typer::Visitor::TypeFrameState(Node* node) { | 756 Bounds Typer::Visitor::TypeFrameState(Node* node) { |
746 // TODO(rossberg): Ideally FrameState wouldn't have a value output. | 757 // TODO(rossberg): Ideally FrameState wouldn't have a value output. |
747 return Bounds(Type::None(zone()), Type::Internal(zone())); | 758 return Bounds(Type::None(zone()), Type::Internal(zone())); |
748 } | 759 } |
749 | 760 |
750 | 761 |
751 Bounds Typer::Visitor::TypeStateValues(Node* node) { | 762 Bounds Typer::Visitor::TypeStateValues(Node* node) { |
752 return Bounds(Type::None(zone()), Type::Internal(zone())); | 763 return Bounds(Type::None(zone()), Type::Internal(zone())); |
753 } | 764 } |
754 | 765 |
(...skipping 1663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2418 TYPED_ARRAYS(TYPED_ARRAY_CASE) | 2429 TYPED_ARRAYS(TYPED_ARRAY_CASE) |
2419 #undef TYPED_ARRAY_CASE | 2430 #undef TYPED_ARRAY_CASE |
2420 } | 2431 } |
2421 } | 2432 } |
2422 return Type::Constant(value, zone()); | 2433 return Type::Constant(value, zone()); |
2423 } | 2434 } |
2424 | 2435 |
2425 } // namespace compiler | 2436 } // namespace compiler |
2426 } // namespace internal | 2437 } // namespace internal |
2427 } // namespace v8 | 2438 } // namespace v8 |
OLD | NEW |