Commit 339bb9ff authored by Michael Starzinger's avatar Michael Starzinger Committed by Commit Bot

[turbofan] Fix the --turbo-stats tracing flag.

R=mvstanton@chromium.org

Change-Id: Ifc1c8a7ba83f4f877b3dd3cd58ca71febc48b550
Reviewed-on: https://chromium-review.googlesource.com/455737Reviewed-by: 's avatarMichael Stanton <mvstanton@chromium.org>
Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#43837}
parent c2a53d25
......@@ -995,9 +995,7 @@ struct LoopExitEliminationPhase {
};
struct ConcurrentOptimizationPrepPhase {
static const char* phase_name() {
return "concurrent optimization preparation";
}
static const char* phase_name() { return "concurrency preparation"; }
void Run(PipelineData* data, Zone* temp_zone) {
// Make sure we cache these code stubs.
......@@ -1303,9 +1301,7 @@ struct AllocateGeneralRegistersPhase {
template <typename RegAllocator>
struct AllocateFPRegistersPhase {
static const char* phase_name() {
return "allocate floating point registers";
}
static const char* phase_name() { return "allocate f.p. registers"; }
void Run(PipelineData* data, Zone* temp_zone) {
RegAllocator allocator(data->register_allocation_data(), FP_REGISTERS,
......@@ -1542,8 +1538,6 @@ bool PipelineImpl::CreateGraph() {
Run<TyperPhase>(&typer);
RunPrintAndVerify("Typed");
data->BeginPhaseKind("lowering");
// Lower JSOperators where we can determine types.
Run<TypedLoweringPhase>();
RunPrintAndVerify("Lowered typed");
......@@ -1561,6 +1555,8 @@ bool PipelineImpl::CreateGraph() {
bool PipelineImpl::OptimizeGraph(Linkage* linkage) {
PipelineData* data = this->data_;
data->BeginPhaseKind("lowering");
if (data->info()->is_loop_peeling_enabled()) {
Run<LoopPeelingPhase>();
RunPrintAndVerify("Loops peeled", true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment