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

Unified Diff: src/parser.h

Issue 1332873003: Implement sloppy-mode block-defined functions (Annex B 3.3) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: An extra test and comment fix Created 5 years, 3 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 29dbb099547fe88073c659017b44ab8bb796cbfa..290cf698f9804c5bc34f31ee1c14c9313605a14d 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -1134,6 +1134,8 @@ class Parser : public ParserBase<ParserTraits> {
// hoisted over such a scope.
void CheckConflictingVarDeclarations(Scope* scope, bool* ok);
+ void InsertSloppyBlockFunctionVarBindings(Scope* scope, bool* ok);
adamk 2015/09/11 15:42:56 I think this deserves a quick comment, perhaps jus
Dan Ehrenberg 2015/09/17 17:44:10 Done
+
// Parser support
VariableProxy* NewUnresolved(const AstRawString* name, VariableMode mode);
Variable* Declare(Declaration* declaration,

Powered by Google App Engine
This is Rietveld 408576698