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

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

Issue 1106613003: [turbofan] Unify frame state inputs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comment. Created 5 years, 8 months 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
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/platform/elapsed-timer.h" 10 #include "src/base/platform/elapsed-timer.h"
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after
1035 Run<StressLoopPeelingPhase>(); 1035 Run<StressLoopPeelingPhase>();
1036 RunPrintAndVerify("Loop peeled", true); 1036 RunPrintAndVerify("Loop peeled", true);
1037 } 1037 }
1038 1038
1039 if (info()->is_osr()) { 1039 if (info()->is_osr()) {
1040 Run<OsrDeconstructionPhase>(); 1040 Run<OsrDeconstructionPhase>();
1041 if (info()->bailout_reason() != kNoReason) return Handle<Code>::null(); 1041 if (info()->bailout_reason() != kNoReason) return Handle<Code>::null();
1042 RunPrintAndVerify("OSR deconstruction"); 1042 RunPrintAndVerify("OSR deconstruction");
1043 } 1043 }
1044 1044
1045 if (info()->is_type_feedback_enabled()) { 1045 // TODO(turbofan): Type feedback currently requires deoptimization.
1046 if (info()->is_deoptimization_enabled() &&
1047 info()->is_type_feedback_enabled()) {
1046 Run<JSTypeFeedbackPhase>(); 1048 Run<JSTypeFeedbackPhase>();
1047 RunPrintAndVerify("JSType feedback"); 1049 RunPrintAndVerify("JSType feedback");
1048 } 1050 }
1049 1051
1050 // Lower simplified operators and insert changes. 1052 // Lower simplified operators and insert changes.
1051 Run<SimplifiedLoweringPhase>(); 1053 Run<SimplifiedLoweringPhase>();
1052 RunPrintAndVerify("Lowered simplified"); 1054 RunPrintAndVerify("Lowered simplified");
1053 1055
1054 // Optimize control flow. 1056 // Optimize control flow.
1055 if (FLAG_turbo_cf_optimization) { 1057 if (FLAG_turbo_cf_optimization) {
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
1305 tcf << AsC1VRegisterAllocationData("CodeGen", 1307 tcf << AsC1VRegisterAllocationData("CodeGen",
1306 data->register_allocation_data()); 1308 data->register_allocation_data());
1307 } 1309 }
1308 1310
1309 data->DeleteRegisterAllocationZone(); 1311 data->DeleteRegisterAllocationZone();
1310 } 1312 }
1311 1313
1312 } // namespace compiler 1314 } // namespace compiler
1313 } // namespace internal 1315 } // namespace internal
1314 } // namespace v8 1316 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/operator-properties.cc ('k') | test/unittests/compiler/control-flow-optimizer-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698