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

Unified Diff: src/ast/scopes.cc

Issue 2498353002: [ast] Change printing of {Variable::maybe_assigned}. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | 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 c3cab48d6e3ad9e6ecb4b6deb17187436aa7b6b7..c150336668545eb1a8bf78b3af3823f70bb476c1 100644
--- a/src/ast/scopes.cc
+++ b/src/ast/scopes.cc
@@ -1380,9 +1380,9 @@ static void PrintVar(int indent, Variable* var) {
PrintF("forced context allocation");
comma = true;
}
- if (var->maybe_assigned() == kMaybeAssigned) {
+ if (var->maybe_assigned() == kNotAssigned) {
if (comma) PrintF(", ");
- PrintF("maybe assigned");
+ PrintF("never assigned");
}
PrintF("\n");
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698