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

Unified Diff: src/compiler.cc

Issue 1782013002: [compiler] Sidestep the interpreter for generator functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 4 years, 9 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 | « no previous file | test/cctest/cctest.status » ('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 bbd7c15608507bdbc9e6799af3123574afebd9a1..ef5d7f8514054a2a7bc9b4f8a9465dd1b8296568 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -784,6 +784,11 @@ static bool UseIgnition(CompilationInfo* info) {
return false;
}
+ // TODO(4681): Generators are not yet supported.
+ if (info->has_shared_info() && info->shared_info()->is_generator()) {
+ return false;
+ }
+
// Checks whether top level functions should be passed by the filter.
if (info->closure().is_null()) {
Vector<const char> filter = CStrVector(FLAG_ignition_filter);
« no previous file with comments | « no previous file | test/cctest/cctest.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698