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

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

Issue 2233923003: Desugar async/await to create the resulting Promise upfront (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: format Created 4 years, 3 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/contexts.h » ('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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 // For generating constants. 276 // For generating constants.
277 #define STRING_CONSTANTS(F) \ 277 #define STRING_CONSTANTS(F) \
278 F(anonymous_function, "(anonymous function)") \ 278 F(anonymous_function, "(anonymous function)") \
279 F(arguments, "arguments") \ 279 F(arguments, "arguments") \
280 F(async, "async") \ 280 F(async, "async") \
281 F(await, "await") \ 281 F(await, "await") \
282 F(constructor, "constructor") \ 282 F(constructor, "constructor") \
283 F(default, "default") \ 283 F(default, "default") \
284 F(done, "done") \ 284 F(done, "done") \
285 F(dot, ".") \ 285 F(dot, ".") \
286 F(dot_debug_is_active, ".debug_is_active") \
286 F(dot_for, ".for") \ 287 F(dot_for, ".for") \
287 F(dot_generator, ".generator") \ 288 F(dot_generator, ".generator") \
288 F(dot_generator_object, ".generator_object") \ 289 F(dot_generator_object, ".generator_object") \
289 F(dot_iterator, ".iterator") \ 290 F(dot_iterator, ".iterator") \
291 F(dot_promise, ".promise") \
290 F(dot_result, ".result") \ 292 F(dot_result, ".result") \
291 F(dot_switch_tag, ".switch_tag") \ 293 F(dot_switch_tag, ".switch_tag") \
292 F(dot_catch, ".catch") \ 294 F(dot_catch, ".catch") \
293 F(empty, "") \ 295 F(empty, "") \
294 F(eval, "eval") \ 296 F(eval, "eval") \
295 F(function, "function") \ 297 F(function, "function") \
296 F(get_space, "get ") \ 298 F(get_space, "get ") \
297 F(let, "let") \ 299 F(let, "let") \
298 F(native, "native") \ 300 F(native, "native") \
299 F(new_target, ".new.target") \ 301 F(new_target, ".new.target") \
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 OTHER_CONSTANTS(F) 435 OTHER_CONSTANTS(F)
434 #undef F 436 #undef F
435 }; 437 };
436 } // namespace internal 438 } // namespace internal
437 } // namespace v8 439 } // namespace v8
438 440
439 #undef STRING_CONSTANTS 441 #undef STRING_CONSTANTS
440 #undef OTHER_CONSTANTS 442 #undef OTHER_CONSTANTS
441 443
442 #endif // V8_AST_AST_VALUE_FACTORY_H_ 444 #endif // V8_AST_AST_VALUE_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698