| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index 2185906182c91b3b09106259d6482db092f1b213..ba5facc57d171064e1c92077ef8d071df413e9fa 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -552,6 +552,9 @@ PipelineCompilationJob::Status PipelineCompilationJob::PrepareJobImpl() {
|
| if (!FLAG_always_opt) {
|
| info()->MarkAsBailoutOnUninitialized();
|
| }
|
| + if (FLAG_turbo_loop_peeling) {
|
| + info()->MarkAsLoopPeelingEnabled();
|
| + }
|
| }
|
| if (info()->is_optimizing_from_bytecode() ||
|
| !info()->shared_info()->asm_function() || FLAG_turbo_asm_deoptimization) {
|
| @@ -1505,7 +1508,7 @@ bool PipelineImpl::CreateGraph() {
|
| Run<TypedLoweringPhase>();
|
| RunPrintAndVerify("Lowered typed");
|
|
|
| - if (FLAG_turbo_loop_peeling) {
|
| + if (data->info()->is_loop_peeling_enabled()) {
|
| Run<LoopPeelingPhase>();
|
| RunPrintAndVerify("Loops peeled", true);
|
| } else {
|
|
|