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

Side by Side Diff: src/ast.h

Issue 867153003: new classes: special construct stub for derived classs and TDZ for `this`. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: CHECK_OK fixed Created 5 years, 10 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 | « src/arm64/full-codegen-arm64.cc ('k') | src/builtins.h » ('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 2608 matching lines...) Expand 10 before | Expand all | Expand 10 after
2619 int parameter_count_; 2619 int parameter_count_;
2620 int function_token_position_; 2620 int function_token_position_;
2621 2621
2622 unsigned bitfield_; 2622 unsigned bitfield_;
2623 class IsExpression : public BitField<bool, 0, 1> {}; 2623 class IsExpression : public BitField<bool, 0, 1> {};
2624 class IsAnonymous : public BitField<bool, 1, 1> {}; 2624 class IsAnonymous : public BitField<bool, 1, 1> {};
2625 class Pretenure : public BitField<bool, 2, 1> {}; 2625 class Pretenure : public BitField<bool, 2, 1> {};
2626 class HasDuplicateParameters : public BitField<ParameterFlag, 3, 1> {}; 2626 class HasDuplicateParameters : public BitField<ParameterFlag, 3, 1> {};
2627 class IsFunction : public BitField<IsFunctionFlag, 4, 1> {}; 2627 class IsFunction : public BitField<IsFunctionFlag, 4, 1> {};
2628 class IsParenthesized : public BitField<IsParenthesizedFlag, 5, 1> {}; 2628 class IsParenthesized : public BitField<IsParenthesizedFlag, 5, 1> {};
2629 class FunctionKindBits : public BitField<FunctionKind, 6, 4> {}; 2629 class FunctionKindBits : public BitField<FunctionKind, 6, 5> {};
2630 }; 2630 };
2631 2631
2632 2632
2633 class ClassLiteral FINAL : public Expression { 2633 class ClassLiteral FINAL : public Expression {
2634 public: 2634 public:
2635 typedef ObjectLiteralProperty Property; 2635 typedef ObjectLiteralProperty Property;
2636 2636
2637 DECLARE_NODE_TYPE(ClassLiteral) 2637 DECLARE_NODE_TYPE(ClassLiteral)
2638 2638
2639 Handle<String> name() const { return raw_name_->string(); } 2639 Handle<String> name() const { return raw_name_->string(); }
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after
3548 3548
3549 private: 3549 private:
3550 Zone* zone_; 3550 Zone* zone_;
3551 AstValueFactory* ast_value_factory_; 3551 AstValueFactory* ast_value_factory_;
3552 }; 3552 };
3553 3553
3554 3554
3555 } } // namespace v8::internal 3555 } } // namespace v8::internal
3556 3556
3557 #endif // V8_AST_H_ 3557 #endif // V8_AST_H_
OLDNEW
« no previous file with comments | « src/arm64/full-codegen-arm64.cc ('k') | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698