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

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: Partially fix `throw` completions (resumption works, but no resumption doesn't) Created 4 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 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 b36d2663ac0545ee89e5f814d136aa3fa0df3501..7cbae7d4aab29edbe44fdd05cc429b4b41dbaf04 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -511,7 +511,7 @@ bool CompileUnoptimizedCode(CompilationInfo* info) {
bool UseIgnition(CompilationInfo* info) {
// TODO(4681): Generator functions are not yet supported.
- if (info->shared_info()->is_generator()) {
+ if (info->shared_info()->is_generator() || info->shared_info()->is_async()) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698