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

Unified Diff: src/variables.cc

Issue 345573002: Infer whether a variable is assigned (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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/variables.cc
diff --git a/src/variables.cc b/src/variables.cc
index 906b6ab7d58cad2d8b7cffe351c4eb41c8d8f655..8eb7135fc86cb2be6a0e4c112ec0943c39dcf825 100644
--- a/src/variables.cc
+++ b/src/variables.cc
@@ -50,6 +50,7 @@ Variable::Variable(Scope* scope,
is_valid_ref_(is_valid_ref),
force_context_allocation_(false),
is_used_(false),
+ is_assigned_in_inner_function_(false),
initialization_flag_(initialization_flag),
interface_(interface) {
// Names must be canonicalized for fast equality checks.

Powered by Google App Engine
This is Rietveld 408576698