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

Unified Diff: src/parsing/parser.cc

Issue 2292223004: Parser::Declare follow-up to r38979. (Closed)
Patch Set: Created 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/parser.cc
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
index 945af996676b88a3ca3492e12b6296d009800760..3ae53f7682d2d19827fc683d70cdee9d7a8605d0 100644
--- a/src/parsing/parser.cc
+++ b/src/parsing/parser.cc
@@ -1688,6 +1688,7 @@ Variable* Parser::Declare(Declaration* declaration,
} else {
ReportMessage(MessageTemplate::kParamDupe);
}
+ return nullptr;
}
if (sloppy_mode_block_scope_function_redefinition) {
++use_counts_[v8::Isolate::kSloppyModeBlockScopedFunctionRedefinition];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698