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

Unified Diff: src/parser.h

Issue 15288011: Baseline for-of implementation (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Use more subexpressions Created 7 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
Index: src/parser.h
diff --git a/src/parser.h b/src/parser.h
index 181b62e0578d74fa6b68989f54041e24921b14f1..596a9ec6aeee3a1440059b14a019fe719f0af3ae 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -659,6 +659,10 @@ class Parser BASE_EMBEDDED {
SwitchStatement* ParseSwitchStatement(ZoneStringList* labels, bool* ok);
DoWhileStatement* ParseDoWhileStatement(ZoneStringList* labels, bool* ok);
WhileStatement* ParseWhileStatement(ZoneStringList* labels, bool* ok);
+ void InitializeForEachStatement(ForEachStatement* stmt,
Michael Starzinger 2013/06/06 11:09:09 Let's move this declaration out of the block of pa
wingo 2013/06/06 17:10:06 Done.
+ Expression* each,
+ Expression* subject,
+ Statement* body);
Statement* ParseForStatement(ZoneStringList* labels, bool* ok);
Statement* ParseThrowStatement(bool* ok);
Expression* MakeCatchContext(Handle<String> id, VariableProxy* value);

Powered by Google App Engine
This is Rietveld 408576698