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

Unified Diff: src/interpreter/bytecode-generator.h

Issue 2209573002: Separate Scope into DeclarationScope and Scope (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Move has_simple_parameters_ to DeclarationScope Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: src/interpreter/bytecode-generator.h
diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h
index ec282dd2bd63abed566d2b555f101bf7232e3d57..f063dd455707b2ccc0bbd38f6a42261e3ce94832 100644
--- a/src/interpreter/bytecode-generator.h
+++ b/src/interpreter/bytecode-generator.h
@@ -175,7 +175,7 @@ class BytecodeGenerator final : public AstVisitor<BytecodeGenerator> {
inline BytecodeArrayBuilder* builder() const { return builder_; }
inline Isolate* isolate() const { return isolate_; }
inline Zone* zone() const { return zone_; }
- inline Scope* scope() const { return scope_; }
+ inline DeclarationScope* scope() const { return scope_; }
inline CompilationInfo* info() const { return info_; }
inline ControlScope* execution_control() const { return execution_control_; }
@@ -206,7 +206,7 @@ class BytecodeGenerator final : public AstVisitor<BytecodeGenerator> {
Zone* zone_;
BytecodeArrayBuilder* builder_;
CompilationInfo* info_;
- Scope* scope_;
+ DeclarationScope* scope_;
GlobalDeclarationsBuilder* globals_builder_;
ZoneVector<GlobalDeclarationsBuilder*> global_declarations_;
ZoneVector<std::pair<FunctionLiteral*, size_t>> function_literals_;
« src/ast/scopes.cc ('K') | « src/globals.h ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698