| 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, | |
| 154 kDontSoftInline, | 153 kDontSoftInline, |
| 155 kDontCache | 154 kDontCache |
| 156 }; | 155 }; |
| 157 | 156 |
| 158 | 157 |
| 159 class FeedbackVectorRequirements { | 158 class FeedbackVectorRequirements { |
| 160 public: | 159 public: |
| 161 FeedbackVectorRequirements(int slots, int ic_slots) | 160 FeedbackVectorRequirements(int slots, int ic_slots) |
| 162 : slots_(slots), ic_slots_(ic_slots) {} | 161 : slots_(slots), ic_slots_(ic_slots) {} |
| 163 | 162 |
| (...skipping 3379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3543 | 3542 |
| 3544 private: | 3543 private: |
| 3545 Zone* zone_; | 3544 Zone* zone_; |
| 3546 AstValueFactory* ast_value_factory_; | 3545 AstValueFactory* ast_value_factory_; |
| 3547 }; | 3546 }; |
| 3548 | 3547 |
| 3549 | 3548 |
| 3550 } } // namespace v8::internal | 3549 } } // namespace v8::internal |
| 3551 | 3550 |
| 3552 #endif // V8_AST_H_ | 3551 #endif // V8_AST_H_ |
| OLD | NEW |