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 7616009: Parse harmony let declarations. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
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
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:
Lasse Reichstein 2011/08/12 08:08:33 Should let be grouped with dynamic? If it occurs i
Steven 2011/08/16 09:05:32 Can you elaborate why it should be grouped with dy
Lasse Reichstein 2011/08/16 11:00:46 I was just trying to understand the comment above.
rossberg 2011/08/16 11:23:15 There hasn't been any decision on that yet. At the
Steven 2011/08/16 15:06:08 The context slot for the variable is fixed, but th
Lasse Reichstein 2011/08/17 10:57:04 I was relying on BE's comment in http://www.mail-a
*attributes = NONE;
break;
case Variable::CONST:

Powered by Google App Engine
This is Rietveld 408576698