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

Side by Side Diff: src/ast.h

Issue 359733004: Remove kDontInline and simplify compiler hints. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/ast.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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 #define DECLARE_NODE_TYPE(type) \ 143 #define DECLARE_NODE_TYPE(type) \
144 virtual void Accept(AstVisitor* v) V8_OVERRIDE; \ 144 virtual void Accept(AstVisitor* v) V8_OVERRIDE; \
145 virtual AstNode::NodeType node_type() const V8_FINAL V8_OVERRIDE { \ 145 virtual AstNode::NodeType node_type() const V8_FINAL V8_OVERRIDE { \
146 return AstNode::k##type; \ 146 return AstNode::k##type; \
147 } \ 147 } \
148 template<class> friend class AstNodeFactory; 148 template<class> friend class AstNodeFactory;
149 149
150 150
151 enum AstPropertiesFlag { 151 enum AstPropertiesFlag {
152 kDontInline,
153 kDontSelfOptimize, 152 kDontSelfOptimize,
154 kDontSoftInline, 153 kDontSoftInline,
155 kDontCache 154 kDontCache
156 }; 155 };
157 156
158 157
159 class AstProperties V8_FINAL BASE_EMBEDDED { 158 class AstProperties V8_FINAL BASE_EMBEDDED {
160 public: 159 public:
161 class Flags : public EnumSet<AstPropertiesFlag, int> {}; 160 class Flags : public EnumSet<AstPropertiesFlag, int> {};
162 161
(...skipping 3261 matching lines...) Expand 10 before | Expand all | Expand 10 after
3424 private: 3423 private:
3425 Zone* zone_; 3424 Zone* zone_;
3426 Visitor visitor_; 3425 Visitor visitor_;
3427 AstValueFactory* ast_value_factory_; 3426 AstValueFactory* ast_value_factory_;
3428 }; 3427 };
3429 3428
3430 3429
3431 } } // namespace v8::internal 3430 } } // namespace v8::internal
3432 3431
3433 #endif // V8_AST_H_ 3432 #endif // V8_AST_H_
OLDNEW
« no previous file with comments | « no previous file | src/ast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698