OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef V8_EXPRESSION_TYPE_COLLECTOR_H_ | 5 #ifndef V8_EXPRESSION_TYPE_COLLECTOR_H_ |
6 #define V8_EXPRESSION_TYPE_COLLECTOR_H_ | 6 #define V8_EXPRESSION_TYPE_COLLECTOR_H_ |
7 | 7 |
8 #include "src/ast-expression-visitor.h" | 8 #include "src/ast-expression-visitor.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 15 matching lines...) Expand all Loading... |
26 ExpressionTypeCollector(Isolate* isolate, Zone* zone, FunctionLiteral* root, | 26 ExpressionTypeCollector(Isolate* isolate, Zone* zone, FunctionLiteral* root, |
27 ZoneVector<ExpressionTypeEntry>* dst); | 27 ZoneVector<ExpressionTypeEntry>* dst); |
28 void Run(); | 28 void Run(); |
29 | 29 |
30 protected: | 30 protected: |
31 void VisitExpression(Expression* expression); | 31 void VisitExpression(Expression* expression); |
32 | 32 |
33 private: | 33 private: |
34 ZoneVector<ExpressionTypeEntry>* result_; | 34 ZoneVector<ExpressionTypeEntry>* result_; |
35 }; | 35 }; |
36 } | 36 } // namespace internal |
37 } // namespace v8::internal | 37 } // namespace v8 |
38 | 38 |
39 #endif // V8_EXPRESSION_TYPE_COLLECTOR_H_ | 39 #endif // V8_EXPRESSION_TYPE_COLLECTOR_H_ |
OLD | NEW |