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

Unified Diff: src/compiler/pipeline.cc

Issue 1925743002: [compiler] Rename OptimizingCompileJob to CompilationJob. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-compiler-simplify-29
Patch Set: Fix tests as well. Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/pipeline.h ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/pipeline.cc
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
index f4d898f8a5457af7357f2e56a7c15429de5f9a38..21241cf0358ba058fe6283620cdc4b62b284a267 100644
--- a/src/compiler/pipeline.cc
+++ b/src/compiler/pipeline.cc
@@ -500,10 +500,10 @@ PipelineStatistics* CreatePipelineStatistics(CompilationInfo* info,
return pipeline_statistics;
}
-class PipelineCompilationJob final : public OptimizedCompileJob {
+class PipelineCompilationJob final : public CompilationJob {
public:
explicit PipelineCompilationJob(CompilationInfo* info)
- : OptimizedCompileJob(info, "TurboFan"),
+ : CompilationJob(info, "TurboFan"),
zone_pool_(info->isolate()->allocator()),
pipeline_statistics_(CreatePipelineStatistics(info, &zone_pool_)),
data_(&zone_pool_, info, pipeline_statistics_.get()),
@@ -572,12 +572,12 @@ PipelineCompilationJob::Status PipelineCompilationJob::GenerateCodeImpl() {
return SUCCEEDED;
}
-class PipelineWasmCompilationJob final : public OptimizedCompileJob {
+class PipelineWasmCompilationJob final : public CompilationJob {
public:
explicit PipelineWasmCompilationJob(CompilationInfo* info, Graph* graph,
CallDescriptor* descriptor,
SourcePositionTable* source_positions)
- : OptimizedCompileJob(info, "TurboFan"),
+ : CompilationJob(info, "TurboFan"),
zone_pool_(info->isolate()->allocator()),
data_(&zone_pool_, info, graph, source_positions),
pipeline_(&data_),
@@ -1461,12 +1461,12 @@ Handle<Code> Pipeline::GenerateCodeForTesting(CompilationInfo* info,
}
// static
-OptimizedCompileJob* Pipeline::NewCompilationJob(CompilationInfo* info) {
+CompilationJob* Pipeline::NewCompilationJob(CompilationInfo* info) {
return new PipelineCompilationJob(info);
}
// static
-OptimizedCompileJob* Pipeline::NewWasmCompilationJob(
+CompilationJob* Pipeline::NewWasmCompilationJob(
CompilationInfo* info, Graph* graph, CallDescriptor* descriptor,
SourcePositionTable* source_positions) {
return new PipelineWasmCompilationJob(info, graph, descriptor,
« no previous file with comments | « src/compiler/pipeline.h ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698