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

Unified Diff: src/compiler/pipeline.cc

Issue 748773002: [turbofan] put spill slot reuse behind a flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month 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/pipeline.cc
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
index 10bbe7c1bc6d38e5b962b0646d6465b4b0e811cf..56a7550d20b98056c3a85b174384b16474b72382 100644
--- a/src/compiler/pipeline.cc
+++ b/src/compiler/pipeline.cc
@@ -944,7 +944,9 @@ void Pipeline::AllocateRegisters(const RegisterConfiguration* config,
data->set_compilation_failed();
return;
}
- Run<ReuseSpillSlotsPhase>();
+ if (data->register_allocator()->use_spill_ranges()) {
+ Run<ReuseSpillSlotsPhase>();
+ }
Run<PopulatePointerMapsPhase>();
Run<ConnectRangesPhase>();
Run<ResolveControlFlowPhase>();

Powered by Google App Engine
This is Rietveld 408576698