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

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

Issue 2411873004: [ignition] Eliminate hole checks where statically possible for loads and stores (Closed)
Patch Set: Rebased Created 4 years, 2 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/ast/ast.cc ('k') | src/ast/scopes.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_SCOPES_H_ 5 #ifndef V8_AST_SCOPES_H_
6 #define V8_AST_SCOPES_H_ 6 #define V8_AST_SCOPES_H_
7 7
8 #include "src/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/base/hashmap.h" 9 #include "src/base/hashmap.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 // particular, its module_requests map will be empty because we no longer need 856 // particular, its module_requests map will be empty because we no longer need
857 // the map after parsing. 857 // the map after parsing.
858 ModuleScope(Isolate* isolate, Handle<ScopeInfo> scope_info, 858 ModuleScope(Isolate* isolate, Handle<ScopeInfo> scope_info,
859 AstValueFactory* ast_value_factory); 859 AstValueFactory* ast_value_factory);
860 860
861 ModuleDescriptor* module() const { 861 ModuleDescriptor* module() const {
862 DCHECK_NOT_NULL(module_descriptor_); 862 DCHECK_NOT_NULL(module_descriptor_);
863 return module_descriptor_; 863 return module_descriptor_;
864 } 864 }
865 865
866 // Set MODULE as VariableLocation for all variables that will live in some 866 // Set MODULE as VariableLocation for all variables that will live in this
867 // module's export table. 867 // module's export table. Imports are allocated by the parser.
868 void AllocateModuleVariables(); 868 void AllocateModuleExports();
869 869
870 private: 870 private:
871 ModuleDescriptor* module_descriptor_; 871 ModuleDescriptor* module_descriptor_;
872 }; 872 };
873 873
874 } // namespace internal 874 } // namespace internal
875 } // namespace v8 875 } // namespace v8
876 876
877 #endif // V8_AST_SCOPES_H_ 877 #endif // V8_AST_SCOPES_H_
OLDNEW
« no previous file with comments | « src/ast/ast.cc ('k') | src/ast/scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698