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

Unified Diff: src/parser.h

Issue 1304183004: [simd.js] Add SIMD store functions for Phase 1. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Re-enabling polyfill Created 5 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 | « src/harmony-simd.js ('k') | src/runtime/runtime.h » ('j') | src/scopes.h » ('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 effa562e2bc9d25862bd37e8d57ac6ae9f87ee57..1bfa13c933b25e7e9378d849e44369cafa5dbfb6 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -1344,8 +1344,8 @@ void ParserTraits::DeclareFormalParameter(
auto mode = is_simple || parameter.is_rest ? VAR : TEMPORARY;
if (!is_simple) scope->SetHasNonSimpleParameters();
bool is_optional = parameter.initializer != nullptr;
- Variable* var = scope->DeclareParameter(
- name, mode, is_optional, parameter.is_rest, &is_duplicate);
+ Variable* var = scope->DeclareParameter(name, mode, is_optional,
Benedikt Meurer 2015/08/27 04:34:51 Please revert this unrelated change.
gdeepti 2015/08/27 18:49:17 Done.
+ parameter.is_rest, &is_duplicate);
if (is_duplicate) {
classifier->RecordDuplicateFormalParameterError(
parser_->scanner()->location());
« no previous file with comments | « src/harmony-simd.js ('k') | src/runtime/runtime.h » ('j') | src/scopes.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698