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

Side by Side Diff: src/ast-value-factory.h

Issue 713413003: harmony-scoping: better error messages for let declarations in sloppy mode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Patch for landing Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/messages.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 F(dot_generator, ".generator") \ 244 F(dot_generator, ".generator") \
245 F(dot_generator_object, ".generator_object") \ 245 F(dot_generator_object, ".generator_object") \
246 F(dot_iterator, ".iterator") \ 246 F(dot_iterator, ".iterator") \
247 F(dot_module, ".module") \ 247 F(dot_module, ".module") \
248 F(dot_result, ".result") \ 248 F(dot_result, ".result") \
249 F(empty, "") \ 249 F(empty, "") \
250 F(eval, "eval") \ 250 F(eval, "eval") \
251 F(get_template_callsite, "GetTemplateCallSite") \ 251 F(get_template_callsite, "GetTemplateCallSite") \
252 F(initialize_const_global, "initializeConstGlobal") \ 252 F(initialize_const_global, "initializeConstGlobal") \
253 F(initialize_var_global, "initializeVarGlobal") \ 253 F(initialize_var_global, "initializeVarGlobal") \
254 F(let, "let") \
254 F(make_reference_error, "MakeReferenceErrorEmbedded") \ 255 F(make_reference_error, "MakeReferenceErrorEmbedded") \
255 F(make_syntax_error, "MakeSyntaxErrorEmbedded") \ 256 F(make_syntax_error, "MakeSyntaxErrorEmbedded") \
256 F(make_type_error, "MakeTypeErrorEmbedded") \ 257 F(make_type_error, "MakeTypeErrorEmbedded") \
257 F(module, "module") \ 258 F(module, "module") \
258 F(native, "native") \ 259 F(native, "native") \
259 F(next, "next") \ 260 F(next, "next") \
260 F(proto, "__proto__") \ 261 F(proto, "__proto__") \
261 F(prototype, "prototype") \ 262 F(prototype, "prototype") \
262 F(this, "this") \ 263 F(this, "this") \
263 F(use_asm, "use asm") \ 264 F(use_asm, "use asm") \
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 361
361 bool AstRawString::IsArguments(AstValueFactory* ast_value_factory) const { 362 bool AstRawString::IsArguments(AstValueFactory* ast_value_factory) const {
362 return ast_value_factory->arguments_string() == this; 363 return ast_value_factory->arguments_string() == this;
363 } 364 }
364 } } // namespace v8::internal 365 } } // namespace v8::internal
365 366
366 #undef STRING_CONSTANTS 367 #undef STRING_CONSTANTS
367 #undef OTHER_CONSTANTS 368 #undef OTHER_CONSTANTS
368 369
369 #endif // V8_AST_VALUE_FACTORY_H_ 370 #endif // V8_AST_VALUE_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | src/messages.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698