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

Unified Diff: src/compiler/pipeline.cc

Issue 826833004: Remove distinction between DisableTurbofan and DisableCrankshaft. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 5 years, 11 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/ast-numbering.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/pipeline.cc
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
index c43ed1bff0ae83547ba5284968a27b8bf4895bfe..70de7fb0efed28ef7d30f20680f018ad91fb7b9c 100644
--- a/src/compiler/pipeline.cc
+++ b/src/compiler/pipeline.cc
@@ -751,15 +751,8 @@ void Pipeline::RunPrintAndVerify(const char* phase, bool untyped) {
Handle<Code> Pipeline::GenerateCode() {
- // This list must be kept in sync with DisableTurbofan in ast-numbering.cc.
- if (info()->function()->dont_optimize_reason() == kTryCatchStatement ||
- info()->function()->dont_optimize_reason() == kTryFinallyStatement ||
- // TODO(turbofan): Make super work and remove this bailout.
- info()->function()->dont_optimize_reason() == kSuperReference ||
- // TODO(turbofan): Make OSR work with inner loops and remove this bailout.
- (info()->is_osr() && !FLAG_turbo_osr)) {
- return Handle<Code>::null();
- }
+ // TODO(turbofan): Make OSR work with inner loops and remove this bailout.
+ if (info()->is_osr() && !FLAG_turbo_osr) return Handle<Code>::null();
ZonePool zone_pool(isolate());
SmartPointer<PipelineStatistics> pipeline_statistics;
« no previous file with comments | « src/ast-numbering.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698