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

Unified Diff: src/compiler/ast-loop-assignment-analyzer.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/compiler/ast-loop-assignment-analyzer.h
diff --git a/src/compiler/ast-loop-assignment-analyzer.h b/src/compiler/ast-loop-assignment-analyzer.h
index 57062edabd7b7fe0f287cacc8d6a1d2c6bae61d0..0893fd1074de972244bc68f37f8fe45cf6e85ee6 100644
--- a/src/compiler/ast-loop-assignment-analyzer.h
+++ b/src/compiler/ast-loop-assignment-analyzer.h
@@ -30,7 +30,7 @@ class LoopAssignmentAnalysis : public ZoneObject {
return nullptr;
}
- int GetAssignmentCountForTesting(Scope* scope, Variable* var);
+ int GetAssignmentCountForTesting(DeclarationScope* scope, Variable* var);
private:
friend class AstLoopAssignmentAnalyzer;
@@ -51,7 +51,7 @@ class AstLoopAssignmentAnalyzer final
AST_NODE_LIST(DECLARE_VISIT)
#undef DECLARE_VISIT
- static int GetVariableIndex(Scope* scope, Variable* var);
+ static int GetVariableIndex(DeclarationScope* scope, Variable* var);
private:
CompilationInfo* info_;

Powered by Google App Engine
This is Rietveld 408576698