Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: src/ast.h

Issue 1155503002: [turbofan] Prepare mechanism to enable TF on language subset. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix think'o! Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/ast-numbering.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/ast-numbering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698