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

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

Issue 1259183005: [es6] new.target should not be shadowable in a with scope (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « src/ast.h ('k') | test/mjsunit/harmony/new-target.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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 F(get_template_callsite, "$getTemplateCallSite") \ 260 F(get_template_callsite, "$getTemplateCallSite") \
261 F(initialize_const_global, "initializeConstGlobal") \ 261 F(initialize_const_global, "initializeConstGlobal") \
262 F(initialize_var_global, "initializeVarGlobal") \ 262 F(initialize_var_global, "initializeVarGlobal") \
263 F(is_construct_call, "_IsConstructCall") \ 263 F(is_construct_call, "_IsConstructCall") \
264 F(is_spec_object, "_IsSpecObject") \ 264 F(is_spec_object, "_IsSpecObject") \
265 F(let, "let") \ 265 F(let, "let") \
266 F(make_reference_error, "MakeReferenceError") \ 266 F(make_reference_error, "MakeReferenceError") \
267 F(make_syntax_error, "MakeSyntaxError") \ 267 F(make_syntax_error, "MakeSyntaxError") \
268 F(make_type_error, "MakeTypeError") \ 268 F(make_type_error, "MakeTypeError") \
269 F(native, "native") \ 269 F(native, "native") \
270 F(new_target, "new.target") \ 270 F(new_target, ".new.target") \
271 F(next, "next") \ 271 F(next, "next") \
272 F(proto, "__proto__") \ 272 F(proto, "__proto__") \
273 F(prototype, "prototype") \ 273 F(prototype, "prototype") \
274 F(reflect_apply, "$reflectApply") \ 274 F(reflect_apply, "$reflectApply") \
275 F(reflect_construct, "$reflectConstruct") \ 275 F(reflect_construct, "$reflectConstruct") \
276 F(spread_arguments, "$spreadArguments") \ 276 F(spread_arguments, "$spreadArguments") \
277 F(spread_iterable, "$spreadIterable") \ 277 F(spread_iterable, "$spreadIterable") \
278 F(this, "this") \ 278 F(this, "this") \
279 F(this_function, ".this_function") \ 279 F(this_function, ".this_function") \
280 F(throw_iterator_result_not_an_object, "ThrowIteratorResultNotAnObject") \ 280 F(throw_iterator_result_not_an_object, "ThrowIteratorResultNotAnObject") \
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 #define F(name) AstValue* name##_; 378 #define F(name) AstValue* name##_;
379 OTHER_CONSTANTS(F) 379 OTHER_CONSTANTS(F)
380 #undef F 380 #undef F
381 }; 381 };
382 } } // namespace v8::internal 382 } } // namespace v8::internal
383 383
384 #undef STRING_CONSTANTS 384 #undef STRING_CONSTANTS
385 #undef OTHER_CONSTANTS 385 #undef OTHER_CONSTANTS
386 386
387 #endif // V8_AST_VALUE_FACTORY_H_ 387 #endif // V8_AST_VALUE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/ast.h ('k') | test/mjsunit/harmony/new-target.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698