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

Unified Diff: src/parser.h

Issue 292743009: Make let variables fresh in each iteration of a for-loop. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | « no previous file | src/parser.cc » ('j') | src/parser.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parser.h
diff --git a/src/parser.h b/src/parser.h
index 10be1707ea7d03e95bbb6f1c1b2fc954c6bb2ea5..affff80156f385cfe814bfd7066b029a5f875860 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -718,6 +718,12 @@ class Parser : public ParserBase<ParserTraits> {
Expression* each,
Expression* subject,
Statement* body);
+ Statement* DesugarLetBindingsInForStatement(
rossberg 2014/05/22 12:55:44 Nit: DesugarLexicalDeclarationInForStatement, sinc
ulan 2014/05/23 14:29:03 As discussed offline, const and others are not han
+ Scope* inner_scope, ZoneStringList* names, ForStatement* loop,
+ Statement* init, Expression* cond, Statement* next, bool* ok);
+ Statement* Assign(Token::Value op, VariableProxy* dst, Expression* src,
rossberg 2014/05/22 12:55:44 I am not sure if it's actually worth introducing t
ulan 2014/05/23 14:29:03 Done. Inlined the functions to be consistent.
+ int pos = RelocInfo::kNoPosition);
+ Variable* Temporary(Handle<String> name);
FunctionLiteral* ParseFunctionLiteral(
Handle<String> name,
« no previous file with comments | « no previous file | src/parser.cc » ('j') | src/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698