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

Unified Diff: src/compiler.cc

Issue 1895603002: [esnext] prototype runtime implementation for async functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@AsyncFunction
Patch Set: fix some nits 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/code-stubs.h ('k') | src/contexts.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index 87ff9ea2092a11180a5eaee1a1baa96e2db225ce..92c48b6882c5224fb961b37c9a4842c166d2bbe9 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -430,7 +430,7 @@ void EnsureFeedbackVector(CompilationInfo* info) {
bool UseIgnition(CompilationInfo* info) {
if (info->is_debug()) return false;
- if (info->shared_info()->is_generator() && !FLAG_ignition_generators) {
+ if (info->shared_info()->is_resumable() && !FLAG_ignition_generators) {
return false;
}
« no previous file with comments | « src/code-stubs.h ('k') | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698