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

Unified Diff: src/ast/scopes.cc

Issue 2299973002: Remove unused VariableLocation::GLOBAL. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « src/ast/prettyprinter.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/scopes.cc
diff --git a/src/ast/scopes.cc b/src/ast/scopes.cc
index 897d62c4da942db73caaaeab5ee8e273d4745f90..beb572114451214ef6ee12a4ddbb54347e78c314 100644
--- a/src/ast/scopes.cc
+++ b/src/ast/scopes.cc
@@ -1105,9 +1105,6 @@ static void PrintLocation(Variable* var) {
case VariableLocation::CONTEXT:
PrintF("context[%d]", var->index());
break;
- case VariableLocation::GLOBAL:
- PrintF("global[%d]", var->index());
- break;
case VariableLocation::LOOKUP:
PrintF("lookup");
break;
« no previous file with comments | « src/ast/prettyprinter.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698