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

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 more bugs 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
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index bdf20a12c914da22f57f0f50985bd73a908858b3..2c0c222a8210b19e617ecebd6dd30571fe273703 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -429,7 +429,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;
}

Powered by Google App Engine
This is Rietveld 408576698