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

Side by Side Diff: src/ast/ast.h

Issue 1895973002: Remove all non-function-name uses of CONST_LEGACY (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove now-unused bits in TF and CS Created 4 years, 8 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/variables.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_AST_H_ 5 #ifndef V8_AST_AST_H_
6 #define V8_AST_AST_H_ 6 #define V8_AST_AST_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/ast/ast-value-factory.h" 9 #include "src/ast/ast-value-factory.h"
10 #include "src/ast/modules.h" 10 #include "src/ast/modules.h"
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 module_specifier_ = module_specifier; 591 module_specifier_ = module_specifier;
592 } 592 }
593 InitializationFlag initialization() const override { 593 InitializationFlag initialization() const override {
594 return kNeedsInitialization; 594 return kNeedsInitialization;
595 } 595 }
596 596
597 protected: 597 protected:
598 ImportDeclaration(Zone* zone, VariableProxy* proxy, 598 ImportDeclaration(Zone* zone, VariableProxy* proxy,
599 const AstRawString* import_name, 599 const AstRawString* import_name,
600 const AstRawString* module_specifier, Scope* scope, int pos) 600 const AstRawString* module_specifier, Scope* scope, int pos)
601 : Declaration(zone, proxy, IMPORT, scope, pos), 601 : Declaration(zone, proxy, CONST, scope, pos),
602 import_name_(import_name), 602 import_name_(import_name),
603 module_specifier_(module_specifier) {} 603 module_specifier_(module_specifier) {}
604 604
605 private: 605 private:
606 const AstRawString* import_name_; 606 const AstRawString* import_name_;
607 const AstRawString* module_specifier_; 607 const AstRawString* module_specifier_;
608 }; 608 };
609 609
610 610
611 class ExportDeclaration final : public Declaration { 611 class ExportDeclaration final : public Declaration {
(...skipping 2936 matching lines...) Expand 10 before | Expand all | Expand 10 after
3548 : NULL; \ 3548 : NULL; \
3549 } 3549 }
3550 AST_NODE_LIST(DECLARE_NODE_FUNCTIONS) 3550 AST_NODE_LIST(DECLARE_NODE_FUNCTIONS)
3551 #undef DECLARE_NODE_FUNCTIONS 3551 #undef DECLARE_NODE_FUNCTIONS
3552 3552
3553 3553
3554 } // namespace internal 3554 } // namespace internal
3555 } // namespace v8 3555 } // namespace v8
3556 3556
3557 #endif // V8_AST_AST_H_ 3557 #endif // V8_AST_AST_H_
OLDNEW
« no previous file with comments | « no previous file | src/ast/variables.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698