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 <iomanip> | 7 #include <iomanip> |
8 | 8 |
9 #include "src/base/flags.h" | 9 #include "src/base/flags.h" |
10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
841 Type* Typer::Visitor::TypeStateValues(Node* node) { return Type::Internal(); } | 841 Type* Typer::Visitor::TypeStateValues(Node* node) { return Type::Internal(); } |
842 | 842 |
843 Type* Typer::Visitor::TypeTypedStateValues(Node* node) { | 843 Type* Typer::Visitor::TypeTypedStateValues(Node* node) { |
844 return Type::Internal(); | 844 return Type::Internal(); |
845 } | 845 } |
846 | 846 |
847 Type* Typer::Visitor::TypeArgumentsElementsState(Node* node) { | 847 Type* Typer::Visitor::TypeArgumentsElementsState(Node* node) { |
848 return Type::Internal(); | 848 return Type::Internal(); |
849 } | 849 } |
850 | 850 |
| 851 Type* Typer::Visitor::TypeArgumentsLengthState(Node* node) { |
| 852 return Type::Internal(); |
| 853 } |
| 854 |
851 Type* Typer::Visitor::TypeObjectState(Node* node) { return Type::Internal(); } | 855 Type* Typer::Visitor::TypeObjectState(Node* node) { return Type::Internal(); } |
852 | 856 |
853 Type* Typer::Visitor::TypeTypedObjectState(Node* node) { | 857 Type* Typer::Visitor::TypeTypedObjectState(Node* node) { |
854 return Type::Internal(); | 858 return Type::Internal(); |
855 } | 859 } |
856 | 860 |
857 Type* Typer::Visitor::TypeCall(Node* node) { return Type::Any(); } | 861 Type* Typer::Visitor::TypeCall(Node* node) { return Type::Any(); } |
858 | 862 |
859 | 863 |
860 Type* Typer::Visitor::TypeProjection(Node* node) { | 864 Type* Typer::Visitor::TypeProjection(Node* node) { |
(...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1984 Type* Typer::Visitor::TypeConstant(Handle<Object> value) { | 1988 Type* Typer::Visitor::TypeConstant(Handle<Object> value) { |
1985 if (Type::IsInteger(*value)) { | 1989 if (Type::IsInteger(*value)) { |
1986 return Type::Range(value->Number(), value->Number(), zone()); | 1990 return Type::Range(value->Number(), value->Number(), zone()); |
1987 } | 1991 } |
1988 return Type::NewConstant(value, zone()); | 1992 return Type::NewConstant(value, zone()); |
1989 } | 1993 } |
1990 | 1994 |
1991 } // namespace compiler | 1995 } // namespace compiler |
1992 } // namespace internal | 1996 } // namespace internal |
1993 } // namespace v8 | 1997 } // namespace v8 |
OLD | NEW |