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

Unified Diff: src/contexts.cc

Issue 7631020: Version 3.5.6. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 9 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
« no previous file with comments | « src/compiler.cc ('k') | src/extensions/experimental/datetime-format.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/contexts.cc
diff --git a/src/contexts.cc b/src/contexts.cc
index 72a5ae4d6077fab4a067c57553f7348eeeb8bfa4..c0e724253f2767ed2a6bbbee436db3c99cd9f62a 100644
--- a/src/contexts.cc
+++ b/src/contexts.cc
@@ -180,6 +180,7 @@ Handle<Object> Context::Lookup(Handle<String> name,
switch (mode) {
case Variable::INTERNAL: // Fall through.
case Variable::VAR:
+ case Variable::LET:
*attributes = NONE;
break;
case Variable::CONST:
« no previous file with comments | « src/compiler.cc ('k') | src/extensions/experimental/datetime-format.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698