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

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

Issue 416033002: For-of on null or undefined is an error (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « src/ast.h ('k') | src/ia32/full-codegen-ia32.cc » ('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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 236
237 // For generating string constants. 237 // For generating string constants.
238 #define STRING_CONSTANTS(F) \ 238 #define STRING_CONSTANTS(F) \
239 F(anonymous_function, "(anonymous function)") \ 239 F(anonymous_function, "(anonymous function)") \
240 F(arguments, "arguments") \ 240 F(arguments, "arguments") \
241 F(done, "done") \ 241 F(done, "done") \
242 F(dot, ".") \ 242 F(dot, ".") \
243 F(dot_for, ".for") \ 243 F(dot_for, ".for") \
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_iterable, ".iterable") \
247 F(dot_iterator, ".iterator") \ 246 F(dot_iterator, ".iterator") \
248 F(dot_module, ".module") \ 247 F(dot_module, ".module") \
249 F(dot_result, ".result") \ 248 F(dot_result, ".result") \
250 F(empty, "") \ 249 F(empty, "") \
251 F(eval, "eval") \ 250 F(eval, "eval") \
252 F(initialize_const_global, "initializeConstGlobal") \ 251 F(initialize_const_global, "initializeConstGlobal") \
253 F(initialize_var_global, "initializeVarGlobal") \ 252 F(initialize_var_global, "initializeVarGlobal") \
254 F(make_reference_error, "MakeReferenceError") \ 253 F(make_reference_error, "MakeReferenceError") \
255 F(make_syntax_error, "MakeSyntaxError") \ 254 F(make_syntax_error, "MakeSyntaxError") \
256 F(make_type_error, "MakeTypeError") \ 255 F(make_type_error, "MakeTypeError") \
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 const AstRawString* name##_string_; 335 const AstRawString* name##_string_;
337 STRING_CONSTANTS(F) 336 STRING_CONSTANTS(F)
338 #undef F 337 #undef F
339 }; 338 };
340 339
341 } } // namespace v8::internal 340 } } // namespace v8::internal
342 341
343 #undef STRING_CONSTANTS 342 #undef STRING_CONSTANTS
344 343
345 #endif // V8_AST_VALUE_FACTORY_H_ 344 #endif // V8_AST_VALUE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/ast.h ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698