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

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

Issue 1841543003: [esnext] implement frontend changes for async/await proposal (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Uncomment that test Created 4 years, 7 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/ast.h ('k') | src/bootstrapper.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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 235
236 // Internalized value (empty before internalized). 236 // Internalized value (empty before internalized).
237 Handle<Object> value_; 237 Handle<Object> value_;
238 }; 238 };
239 239
240 240
241 // For generating constants. 241 // For generating constants.
242 #define STRING_CONSTANTS(F) \ 242 #define STRING_CONSTANTS(F) \
243 F(anonymous_function, "(anonymous function)") \ 243 F(anonymous_function, "(anonymous function)") \
244 F(arguments, "arguments") \ 244 F(arguments, "arguments") \
245 F(async, "async") \
246 F(await, "await") \
245 F(constructor, "constructor") \ 247 F(constructor, "constructor") \
246 F(default, "default") \ 248 F(default, "default") \
247 F(done, "done") \ 249 F(done, "done") \
248 F(dot, ".") \ 250 F(dot, ".") \
249 F(dot_for, ".for") \ 251 F(dot_for, ".for") \
250 F(dot_generator, ".generator") \ 252 F(dot_generator, ".generator") \
251 F(dot_generator_object, ".generator_object") \ 253 F(dot_generator_object, ".generator_object") \
252 F(dot_iterator, ".iterator") \ 254 F(dot_iterator, ".iterator") \
253 F(dot_result, ".result") \ 255 F(dot_result, ".result") \
254 F(dot_switch_tag, ".switch_tag") \ 256 F(dot_switch_tag, ".switch_tag") \
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 OTHER_CONSTANTS(F) 370 OTHER_CONSTANTS(F)
369 #undef F 371 #undef F
370 }; 372 };
371 } // namespace internal 373 } // namespace internal
372 } // namespace v8 374 } // namespace v8
373 375
374 #undef STRING_CONSTANTS 376 #undef STRING_CONSTANTS
375 #undef OTHER_CONSTANTS 377 #undef OTHER_CONSTANTS
376 378
377 #endif // V8_AST_AST_VALUE_FACTORY_H_ 379 #endif // V8_AST_AST_VALUE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/ast/ast.h ('k') | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698