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

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: 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') | src/messages.js » ('J')
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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 F(make_syntax_error, "MakeSyntaxErrorEmbedded") \ 255 F(make_syntax_error, "MakeSyntaxErrorEmbedded") \
256 F(make_type_error, "MakeTypeErrorEmbedded") \ 256 F(make_type_error, "MakeTypeErrorEmbedded") \
257 F(native, "native") \ 257 F(native, "native") \
258 F(new_target, "new.target") \ 258 F(new_target, "new.target") \
259 F(next, "next") \ 259 F(next, "next") \
260 F(proto, "__proto__") \ 260 F(proto, "__proto__") \
261 F(prototype, "prototype") \ 261 F(prototype, "prototype") \
262 F(this, "this") \ 262 F(this, "this") \
263 F(throw_iterator_result_not_an_object, "ThrowIteratorResultNotAnObject") \ 263 F(throw_iterator_result_not_an_object, "ThrowIteratorResultNotAnObject") \
264 F(to_string, "ToString") \ 264 F(to_string, "ToString") \
265 F(undefined, "undefined") \
265 F(use_asm, "use asm") \ 266 F(use_asm, "use asm") \
266 F(use_strong, "use strong") \ 267 F(use_strong, "use strong") \
267 F(use_strict, "use strict") \ 268 F(use_strict, "use strict") \
268 F(value, "value") 269 F(value, "value")
269 270
270 #define OTHER_CONSTANTS(F) \ 271 #define OTHER_CONSTANTS(F) \
271 F(true_value) \ 272 F(true_value) \
272 F(false_value) \ 273 F(false_value) \
273 F(null_value) \ 274 F(null_value) \
274 F(undefined_value) \ 275 F(undefined_value) \
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 #define F(name) AstValue* name##_; 359 #define F(name) AstValue* name##_;
359 OTHER_CONSTANTS(F) 360 OTHER_CONSTANTS(F)
360 #undef F 361 #undef F
361 }; 362 };
362 } } // namespace v8::internal 363 } } // namespace v8::internal
363 364
364 #undef STRING_CONSTANTS 365 #undef STRING_CONSTANTS
365 #undef OTHER_CONSTANTS 366 #undef OTHER_CONSTANTS
366 367
367 #endif // V8_AST_VALUE_FACTORY_H_ 368 #endif // V8_AST_VALUE_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | src/messages.js » ('j') | src/messages.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698