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

Unified Diff: src/compiler/pipeline.cc

Issue 1914943002: [turbofan] Run effect linearizer even for asm functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« no previous file with comments | « src/compiler.h ('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 5c4d607e09c18a81631c0c6519a49f58148e574c..eafe3230637ff9047049750205b96f1a5885a33a 100644
--- a/src/compiler/pipeline.cc
+++ b/src/compiler/pipeline.cc
@@ -502,10 +502,6 @@ PipelineCompilationJob::Status PipelineCompilationJob::CreateGraphImpl() {
if (!info()->shared_info()->asm_function() || FLAG_turbo_asm_deoptimization) {
info()->MarkAsDeoptimizationEnabled();
}
- if (!info()->shared_info()->asm_function()) {
- info()->MarkAsEffectSchedulingEnabled();
- }
-
if (!info()->shared_info()->HasBytecodeArray()) {
if (!Compiler::EnsureDeoptimizationSupport(info())) return FAILED;
}
@@ -1283,10 +1279,8 @@ Handle<Code> Pipeline::GenerateCode() {
Run<EarlyOptimizationPhase>();
RunPrintAndVerify("Early optimized");
- if (info()->is_effect_scheduling_enabled()) {
- Run<EffectControlLinearizationPhase>();
- RunPrintAndVerify("Effect and control linearized");
- }
+ Run<EffectControlLinearizationPhase>();
+ RunPrintAndVerify("Effect and control linearized");
Run<BranchEliminationPhase>();
RunPrintAndVerify("Branch conditions eliminated");
« no previous file with comments | « src/compiler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698