Commit d6f3fa67 authored by marja's avatar marja Committed by Commit bot

Parser::Declare follow-up to r38979.

BUG=

Review-Url: https://codereview.chromium.org/2292223004
Cr-Commit-Position: refs/heads/master@{#39053}
parent 7516fe1e
......@@ -1677,6 +1677,7 @@ Variable* Parser::Declare(Declaration* declaration,
} else {
ReportMessage(MessageTemplate::kParamDupe);
}
return nullptr;
}
if (sloppy_mode_block_scope_function_redefinition) {
++use_counts_[v8::Isolate::kSloppyModeBlockScopedFunctionRedefinition];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment