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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 | 133 |
134 #define DECLARE_NODE_TYPE(type) \ | 134 #define DECLARE_NODE_TYPE(type) \ |
135 void Accept(AstVisitor* v) override; \ | 135 void Accept(AstVisitor* v) override; \ |
136 AstNode::NodeType node_type() const final { return AstNode::k##type; } \ | 136 AstNode::NodeType node_type() const final { return AstNode::k##type; } \ |
137 friend class AstNodeFactory; | 137 friend class AstNodeFactory; |
138 | 138 |
139 | 139 |
140 enum AstPropertiesFlag { | 140 enum AstPropertiesFlag { |
141 kDontSelfOptimize, | 141 kDontSelfOptimize, |
142 kDontSoftInline, | 142 kDontSoftInline, |
| 143 kDontCrankshaft, |
143 kDontCache | 144 kDontCache |
144 }; | 145 }; |
145 | 146 |
146 | 147 |
147 class FeedbackVectorRequirements { | 148 class FeedbackVectorRequirements { |
148 public: | 149 public: |
149 FeedbackVectorRequirements(int slots, int ic_slots) | 150 FeedbackVectorRequirements(int slots, int ic_slots) |
150 : slots_(slots), ic_slots_(ic_slots) {} | 151 : slots_(slots), ic_slots_(ic_slots) {} |
151 | 152 |
152 int slots() const { return slots_; } | 153 int slots() const { return slots_; } |
(...skipping 3352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3505 | 3506 |
3506 private: | 3507 private: |
3507 Zone* zone_; | 3508 Zone* zone_; |
3508 AstValueFactory* ast_value_factory_; | 3509 AstValueFactory* ast_value_factory_; |
3509 }; | 3510 }; |
3510 | 3511 |
3511 | 3512 |
3512 } } // namespace v8::internal | 3513 } } // namespace v8::internal |
3513 | 3514 |
3514 #endif // V8_AST_H_ | 3515 #endif // V8_AST_H_ |
OLD | NEW |