| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index 786e83d6e7aeeaa59a9683349abb4598a06fa5ad..a850b86bf13282dda758b6228f79b9f9438bc7ea 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -1569,14 +1569,16 @@ bool PipelineImpl::CreateGraph() {
|
| RunPrintAndVerify("Loop peeled");
|
| }
|
|
|
| - if (FLAG_turbo_escape) {
|
| - Run<EscapeAnalysisPhase>();
|
| - RunPrintAndVerify("Escape Analysed");
|
| - }
|
| + if (!info()->shared_info()->asm_function()) {
|
| + if (FLAG_turbo_load_elimination) {
|
| + Run<LoadEliminationPhase>();
|
| + RunPrintAndVerify("Load eliminated");
|
| + }
|
|
|
| - if (!info()->shared_info()->asm_function() && FLAG_turbo_load_elimination) {
|
| - Run<LoadEliminationPhase>();
|
| - RunPrintAndVerify("Load eliminated");
|
| + if (FLAG_turbo_escape) {
|
| + Run<EscapeAnalysisPhase>();
|
| + RunPrintAndVerify("Escape Analysed");
|
| + }
|
| }
|
| }
|
|
|
|
|