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

Unified Diff: src/ast/ast.cc

Issue 2324783002: Include only stuff you need, part 9: variables.h (Closed)
Patch Set: rebased 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/ast.h ('k') | src/ast/context-slot-cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/ast.cc
diff --git a/src/ast/ast.cc b/src/ast/ast.cc
index 518cef15fbad7926d957090b79dc52ef8247358e..bafcd2d87f7bcb2559144a597daf9d6b1fbea3ae 100644
--- a/src/ast/ast.cc
+++ b/src/ast/ast.cc
@@ -172,10 +172,10 @@ VariableProxy::VariableProxy(Variable* var, int start_position,
}
VariableProxy::VariableProxy(const AstRawString* name,
- Variable::Kind variable_kind, int start_position,
+ VariableKind variable_kind, int start_position,
int end_position)
: Expression(start_position, kVariableProxy),
- bit_field_(IsThisField::encode(variable_kind == Variable::THIS) |
+ bit_field_(IsThisField::encode(variable_kind == THIS_VARIABLE) |
IsAssignedField::encode(false) |
IsResolvedField::encode(false)),
end_position_(end_position),
« no previous file with comments | « src/ast/ast.h ('k') | src/ast/context-slot-cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698