OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_AST_H_ | 5 #ifndef V8_AST_H_ |
6 #define V8_AST_H_ | 6 #define V8_AST_H_ |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/assembler.h" | 10 #include "src/assembler.h" |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 | 143 |
144 #define DECLARE_NODE_TYPE(type) \ | 144 #define DECLARE_NODE_TYPE(type) \ |
145 virtual void Accept(AstVisitor* v) OVERRIDE; \ | 145 virtual void Accept(AstVisitor* v) OVERRIDE; \ |
146 virtual AstNode::NodeType node_type() const FINAL OVERRIDE { \ | 146 virtual AstNode::NodeType node_type() const FINAL OVERRIDE { \ |
147 return AstNode::k##type; \ | 147 return AstNode::k##type; \ |
148 } \ | 148 } \ |
149 friend class AstNodeFactory; | 149 friend class AstNodeFactory; |
150 | 150 |
151 | 151 |
152 enum AstPropertiesFlag { | 152 enum AstPropertiesFlag { |
| 153 kDontSelfOptimize, |
153 kDontSoftInline, | 154 kDontSoftInline, |
154 kDontCache | 155 kDontCache |
155 }; | 156 }; |
156 | 157 |
157 | 158 |
158 class FeedbackVectorRequirements { | 159 class FeedbackVectorRequirements { |
159 public: | 160 public: |
160 FeedbackVectorRequirements(int slots, int ic_slots) | 161 FeedbackVectorRequirements(int slots, int ic_slots) |
161 : slots_(slots), ic_slots_(ic_slots) {} | 162 : slots_(slots), ic_slots_(ic_slots) {} |
162 | 163 |
(...skipping 3379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3542 | 3543 |
3543 private: | 3544 private: |
3544 Zone* zone_; | 3545 Zone* zone_; |
3545 AstValueFactory* ast_value_factory_; | 3546 AstValueFactory* ast_value_factory_; |
3546 }; | 3547 }; |
3547 | 3548 |
3548 | 3549 |
3549 } } // namespace v8::internal | 3550 } } // namespace v8::internal |
3550 | 3551 |
3551 #endif // V8_AST_H_ | 3552 #endif // V8_AST_H_ |
OLD | NEW |