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 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 RECURSE(Visit(expr->left())); | 735 RECURSE(Visit(expr->left())); |
736 RECURSE(Visit(expr->right())); | 736 RECURSE(Visit(expr->right())); |
737 | 737 |
738 NarrowType(expr, Bounds(Type::Boolean(zone()))); | 738 NarrowType(expr, Bounds(Type::Boolean(zone()))); |
739 } | 739 } |
740 | 740 |
741 | 741 |
742 void AstTyper::VisitSpread(Spread* expr) { RECURSE(Visit(expr->expression())); } | 742 void AstTyper::VisitSpread(Spread* expr) { RECURSE(Visit(expr->expression())); } |
743 | 743 |
744 | 744 |
| 745 void AstTyper::VisitEmptyParentheses(EmptyParentheses* expr) { |
| 746 UNREACHABLE(); |
| 747 } |
| 748 |
| 749 |
745 void AstTyper::VisitThisFunction(ThisFunction* expr) { | 750 void AstTyper::VisitThisFunction(ThisFunction* expr) { |
746 } | 751 } |
747 | 752 |
748 | 753 |
749 void AstTyper::VisitSuperPropertyReference(SuperPropertyReference* expr) {} | 754 void AstTyper::VisitSuperPropertyReference(SuperPropertyReference* expr) {} |
750 | 755 |
751 | 756 |
752 void AstTyper::VisitSuperCallReference(SuperCallReference* expr) {} | 757 void AstTyper::VisitSuperCallReference(SuperCallReference* expr) {} |
753 | 758 |
754 | 759 |
(...skipping 17 matching lines...) Expand all Loading... |
772 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) { | 777 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) { |
773 } | 778 } |
774 | 779 |
775 | 780 |
776 void AstTyper::VisitExportDeclaration(ExportDeclaration* declaration) { | 781 void AstTyper::VisitExportDeclaration(ExportDeclaration* declaration) { |
777 } | 782 } |
778 | 783 |
779 | 784 |
780 } // namespace internal | 785 } // namespace internal |
781 } // namespace v8 | 786 } // namespace v8 |
OLD | NEW |