OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/typing.h" | 5 #include "src/typing.h" |
6 | 6 |
7 #include "src/frames.h" | 7 #include "src/frames.h" |
8 #include "src/frames-inl.h" | 8 #include "src/frames-inl.h" |
9 #include "src/ostreams.h" | 9 #include "src/ostreams.h" |
10 #include "src/parser.h" // for CompileTimeValue; TODO(rossberg): should move | 10 #include "src/parser.h" // for CompileTimeValue; TODO(rossberg): should move |
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
746 RECURSE(Visit(expr->left())); | 746 RECURSE(Visit(expr->left())); |
747 RECURSE(Visit(expr->right())); | 747 RECURSE(Visit(expr->right())); |
748 | 748 |
749 NarrowType(expr, Bounds(Type::Boolean(zone()))); | 749 NarrowType(expr, Bounds(Type::Boolean(zone()))); |
750 } | 750 } |
751 | 751 |
752 | 752 |
753 void AstTyper::VisitSpread(Spread* expr) { RECURSE(Visit(expr->expression())); } | 753 void AstTyper::VisitSpread(Spread* expr) { RECURSE(Visit(expr->expression())); } |
754 | 754 |
755 | 755 |
756 void AstTyper::VisitEmptyParentheses(EmptyParentheses* expr) { | |
757 UNREACHABLE(); | |
758 } | |
759 | |
760 | |
761 void AstTyper::VisitThisFunction(ThisFunction* expr) { | 756 void AstTyper::VisitThisFunction(ThisFunction* expr) { |
762 } | 757 } |
763 | 758 |
764 | 759 |
765 void AstTyper::VisitSuperPropertyReference(SuperPropertyReference* expr) {} | 760 void AstTyper::VisitSuperPropertyReference(SuperPropertyReference* expr) {} |
766 | 761 |
767 | 762 |
768 void AstTyper::VisitSuperCallReference(SuperCallReference* expr) {} | 763 void AstTyper::VisitSuperCallReference(SuperCallReference* expr) {} |
769 | 764 |
770 | 765 |
(...skipping 17 matching lines...) Expand all Loading... |
788 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) { | 783 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) { |
789 } | 784 } |
790 | 785 |
791 | 786 |
792 void AstTyper::VisitExportDeclaration(ExportDeclaration* declaration) { | 787 void AstTyper::VisitExportDeclaration(ExportDeclaration* declaration) { |
793 } | 788 } |
794 | 789 |
795 | 790 |
796 } // namespace internal | 791 } // namespace internal |
797 } // namespace v8 | 792 } // namespace v8 |
OLD | NEW |