| 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 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 725 // TODO(rossberg): Ideally FrameState wouldn't have a value output. | 725 // TODO(rossberg): Ideally FrameState wouldn't have a value output. |
| 726 return Bounds(Type::None(zone()), Type::Internal(zone())); | 726 return Bounds(Type::None(zone()), Type::Internal(zone())); |
| 727 } | 727 } |
| 728 | 728 |
| 729 | 729 |
| 730 Bounds Typer::Visitor::TypeStateValues(Node* node) { | 730 Bounds Typer::Visitor::TypeStateValues(Node* node) { |
| 731 return Bounds(Type::None(zone()), Type::Internal(zone())); | 731 return Bounds(Type::None(zone()), Type::Internal(zone())); |
| 732 } | 732 } |
| 733 | 733 |
| 734 | 734 |
| 735 Bounds Typer::Visitor::TypeTypedStateValues(Node* node) { |
| 736 return Bounds(Type::None(zone()), Type::Internal(zone())); |
| 737 } |
| 738 |
| 739 |
| 735 Bounds Typer::Visitor::TypeCall(Node* node) { | 740 Bounds Typer::Visitor::TypeCall(Node* node) { |
| 736 return Bounds::Unbounded(zone()); | 741 return Bounds::Unbounded(zone()); |
| 737 } | 742 } |
| 738 | 743 |
| 739 | 744 |
| 740 Bounds Typer::Visitor::TypeProjection(Node* node) { | 745 Bounds Typer::Visitor::TypeProjection(Node* node) { |
| 741 // TODO(titzer): use the output type of the input to determine the bounds. | 746 // TODO(titzer): use the output type of the input to determine the bounds. |
| 742 return Bounds::Unbounded(zone()); | 747 return Bounds::Unbounded(zone()); |
| 743 } | 748 } |
| 744 | 749 |
| (...skipping 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2223 TYPED_ARRAYS(TYPED_ARRAY_CASE) | 2228 TYPED_ARRAYS(TYPED_ARRAY_CASE) |
| 2224 #undef TYPED_ARRAY_CASE | 2229 #undef TYPED_ARRAY_CASE |
| 2225 } | 2230 } |
| 2226 } | 2231 } |
| 2227 return Type::Constant(value, zone()); | 2232 return Type::Constant(value, zone()); |
| 2228 } | 2233 } |
| 2229 | 2234 |
| 2230 } // namespace compiler | 2235 } // namespace compiler |
| 2231 } // namespace internal | 2236 } // namespace internal |
| 2232 } // namespace v8 | 2237 } // namespace v8 |
| OLD | NEW |