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

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

Issue 1070633002: [strong] Implement static restrictions on binding/assignment to 'undefined' identifier. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 years, 8 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 | « 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 F(next, "next") \ 258 F(next, "next") \
259 F(proto, "__proto__") \ 259 F(proto, "__proto__") \
260 F(prototype, "prototype") \ 260 F(prototype, "prototype") \
261 F(reflect_apply, "ReflectApply") \ 261 F(reflect_apply, "ReflectApply") \
262 F(reflect_construct, "ReflectConstruct") \ 262 F(reflect_construct, "ReflectConstruct") \
263 F(spread_arguments, "SpreadArguments") \ 263 F(spread_arguments, "SpreadArguments") \
264 F(spread_iterable, "SpreadIterable") \ 264 F(spread_iterable, "SpreadIterable") \
265 F(this, "this") \ 265 F(this, "this") \
266 F(throw_iterator_result_not_an_object, "ThrowIteratorResultNotAnObject") \ 266 F(throw_iterator_result_not_an_object, "ThrowIteratorResultNotAnObject") \
267 F(to_string, "ToString") \ 267 F(to_string, "ToString") \
268 F(undefined, "undefined") \
268 F(use_asm, "use asm") \ 269 F(use_asm, "use asm") \
269 F(use_strong, "use strong") \ 270 F(use_strong, "use strong") \
270 F(use_strict, "use strict") \ 271 F(use_strict, "use strict") \
271 F(value, "value") 272 F(value, "value")
272 273
273 #define OTHER_CONSTANTS(F) \ 274 #define OTHER_CONSTANTS(F) \
274 F(true_value) \ 275 F(true_value) \
275 F(false_value) \ 276 F(false_value) \
276 F(null_value) \ 277 F(null_value) \
277 F(undefined_value) \ 278 F(undefined_value) \
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 #define F(name) AstValue* name##_; 364 #define F(name) AstValue* name##_;
364 OTHER_CONSTANTS(F) 365 OTHER_CONSTANTS(F)
365 #undef F 366 #undef F
366 }; 367 };
367 } } // namespace v8::internal 368 } } // namespace v8::internal
368 369
369 #undef STRING_CONSTANTS 370 #undef STRING_CONSTANTS
370 #undef OTHER_CONSTANTS 371 #undef OTHER_CONSTANTS
371 372
372 #endif // V8_AST_VALUE_FACTORY_H_ 373 #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