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

Side by Side Diff: src/compiler/pipeline.cc

Issue 1510973006: Stabilize escape analysis (without deopt) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@fix-guard-bug
Patch Set: Rebase Created 5 years 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 unified diff | Download patch
« no previous file with comments | « src/compiler/escape-analysis-reducer.cc ('k') | test/mjsunit/compiler/escape-analysis-10.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/pipeline.h" 5 #include "src/compiler/pipeline.h"
6 6
7 #include <fstream> // NOLINT(readability/streams) 7 #include <fstream> // NOLINT(readability/streams)
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "src/base/adapters.h" 10 #include "src/base/adapters.h"
(...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after
1152 // Lower JSOperators where we can determine types. 1152 // Lower JSOperators where we can determine types.
1153 Run<TypedLoweringPhase>(); 1153 Run<TypedLoweringPhase>();
1154 RunPrintAndVerify("Lowered typed"); 1154 RunPrintAndVerify("Lowered typed");
1155 1155
1156 if (FLAG_turbo_stress_loop_peeling) { 1156 if (FLAG_turbo_stress_loop_peeling) {
1157 Run<StressLoopPeelingPhase>(); 1157 Run<StressLoopPeelingPhase>();
1158 RunPrintAndVerify("Loop peeled"); 1158 RunPrintAndVerify("Loop peeled");
1159 } 1159 }
1160 1160
1161 if (FLAG_turbo_escape) { 1161 if (FLAG_turbo_escape) {
1162 // TODO(sigurds): EscapeAnalysis needs a trimmed graph at the moment,
1163 // because it does a forwards traversal of the effect edges.
1164 Run<EarlyGraphTrimmingPhase>();
1162 Run<EscapeAnalysisPhase>(); 1165 Run<EscapeAnalysisPhase>();
1163 RunPrintAndVerify("Escape Analysed"); 1166 RunPrintAndVerify("Escape Analysed");
1164 } 1167 }
1165 1168
1166 // Lower simplified operators and insert changes. 1169 // Lower simplified operators and insert changes.
1167 Run<SimplifiedLoweringPhase>(); 1170 Run<SimplifiedLoweringPhase>();
1168 RunPrintAndVerify("Lowered simplified"); 1171 RunPrintAndVerify("Lowered simplified");
1169 1172
1170 Run<BranchEliminationPhase>(); 1173 Run<BranchEliminationPhase>();
1171 RunPrintAndVerify("Branch conditions eliminated"); 1174 RunPrintAndVerify("Branch conditions eliminated");
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
1472 tcf << AsC1VRegisterAllocationData("CodeGen", 1475 tcf << AsC1VRegisterAllocationData("CodeGen",
1473 data->register_allocation_data()); 1476 data->register_allocation_data());
1474 } 1477 }
1475 1478
1476 data->DeleteRegisterAllocationZone(); 1479 data->DeleteRegisterAllocationZone();
1477 } 1480 }
1478 1481
1479 } // namespace compiler 1482 } // namespace compiler
1480 } // namespace internal 1483 } // namespace internal
1481 } // namespace v8 1484 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/escape-analysis-reducer.cc ('k') | test/mjsunit/compiler/escape-analysis-10.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698