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

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

Issue 1520373002: Deprecate ability to generate stubs via Compiler class. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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.cc ('k') | no next file » | 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 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1134 GraphReplayPrinter::PrintReplay(data.graph()); 1134 GraphReplayPrinter::PrintReplay(data.graph());
1135 } 1135 }
1136 1136
1137 base::SmartPointer<Typer> typer; 1137 base::SmartPointer<Typer> typer;
1138 if (info()->is_typing_enabled()) { 1138 if (info()->is_typing_enabled()) {
1139 // Type the graph. 1139 // Type the graph.
1140 typer.Reset(new Typer(isolate(), data.graph(), 1140 typer.Reset(new Typer(isolate(), data.graph(),
1141 info()->is_deoptimization_enabled() 1141 info()->is_deoptimization_enabled()
1142 ? Typer::kDeoptimizationEnabled 1142 ? Typer::kDeoptimizationEnabled
1143 : Typer::kNoFlags, 1143 : Typer::kNoFlags,
1144 info()->dependencies(), info()->function_type())); 1144 info()->dependencies()));
1145 Run<TyperPhase>(typer.get()); 1145 Run<TyperPhase>(typer.get());
1146 RunPrintAndVerify("Typed"); 1146 RunPrintAndVerify("Typed");
1147 } 1147 }
1148 1148
1149 BeginPhaseKind("lowering"); 1149 BeginPhaseKind("lowering");
1150 1150
1151 if (info()->is_typing_enabled()) { 1151 if (info()->is_typing_enabled()) {
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");
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
1475 tcf << AsC1VRegisterAllocationData("CodeGen", 1475 tcf << AsC1VRegisterAllocationData("CodeGen",
1476 data->register_allocation_data()); 1476 data->register_allocation_data());
1477 } 1477 }
1478 1478
1479 data->DeleteRegisterAllocationZone(); 1479 data->DeleteRegisterAllocationZone();
1480 } 1480 }
1481 1481
1482 } // namespace compiler 1482 } // namespace compiler
1483 } // namespace internal 1483 } // namespace internal
1484 } // namespace v8 1484 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698