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

Side by Side Diff: src/ast.h

Issue 1423663006: [es7] Implement async functions parsing Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/bootstrapper.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/assembler.h" 8 #include "src/assembler.h"
9 #include "src/ast-value-factory.h" 9 #include "src/ast-value-factory.h"
10 #include "src/bailout-reason.h" 10 #include "src/bailout-reason.h"
(...skipping 2628 matching lines...) Expand 10 before | Expand all | Expand 10 after
2639 int parameter_count_; 2639 int parameter_count_;
2640 int function_token_position_; 2640 int function_token_position_;
2641 2641
2642 unsigned bitfield_; 2642 unsigned bitfield_;
2643 class IsExpression : public BitField<bool, 0, 1> {}; 2643 class IsExpression : public BitField<bool, 0, 1> {};
2644 class IsAnonymous : public BitField<bool, 1, 1> {}; 2644 class IsAnonymous : public BitField<bool, 1, 1> {};
2645 class Pretenure : public BitField<bool, 2, 1> {}; 2645 class Pretenure : public BitField<bool, 2, 1> {};
2646 class HasDuplicateParameters : public BitField<ParameterFlag, 3, 1> {}; 2646 class HasDuplicateParameters : public BitField<ParameterFlag, 3, 1> {};
2647 class IsFunction : public BitField<IsFunctionFlag, 4, 1> {}; 2647 class IsFunction : public BitField<IsFunctionFlag, 4, 1> {};
2648 class EagerCompileHintBit : public BitField<EagerCompileHint, 5, 1> {}; 2648 class EagerCompileHintBit : public BitField<EagerCompileHint, 5, 1> {};
2649 class FunctionKindBits : public BitField<FunctionKind, 6, 8> {}; 2649 class FunctionKindBits : public BitField<FunctionKind, 6, 9> {};
2650 class ShouldBeUsedOnceHintBit : public BitField<ShouldBeUsedOnceHint, 15, 1> { 2650 class ShouldBeUsedOnceHintBit : public BitField<ShouldBeUsedOnceHint, 16, 1> {
2651 }; 2651 };
2652 }; 2652 };
2653 2653
2654 2654
2655 class ClassLiteral final : public Expression { 2655 class ClassLiteral final : public Expression {
2656 public: 2656 public:
2657 typedef ObjectLiteralProperty Property; 2657 typedef ObjectLiteralProperty Property;
2658 2658
2659 DECLARE_NODE_TYPE(ClassLiteral) 2659 DECLARE_NODE_TYPE(ClassLiteral)
2660 2660
(...skipping 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after
3667 // the parser-level zone. 3667 // the parser-level zone.
3668 Zone* parser_zone_; 3668 Zone* parser_zone_;
3669 AstValueFactory* ast_value_factory_; 3669 AstValueFactory* ast_value_factory_;
3670 }; 3670 };
3671 3671
3672 3672
3673 } // namespace internal 3673 } // namespace internal
3674 } // namespace v8 3674 } // namespace v8
3675 3675
3676 #endif // V8_AST_H_ 3676 #endif // V8_AST_H_
OLDNEW
« no previous file with comments | « no previous file | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698