Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 10bbe7c1bc6d38e5b962b0646d6465b4b0e811cf..e5460d1fad6b0ad18221e1defa19d23b52e33fc1 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 (FLAG_turbo_reuse_spill_slots) { |
+ Run<ReuseSpillSlotsPhase>(); |
+ } |
Run<PopulatePointerMapsPhase>(); |
Run<ConnectRangesPhase>(); |
Run<ResolveControlFlowPhase>(); |