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

Unified Diff: test/cctest/wasm/wasm-run-utils.h

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/optimizing-compile-dispatcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/wasm/wasm-run-utils.h
diff --git a/test/cctest/wasm/wasm-run-utils.h b/test/cctest/wasm/wasm-run-utils.h
index e8a54ff90a97ffb74eb11da1a91a4809c20d1e58..ce7ccb7dc0337d656aefa34aa1d312fa1b61188c 100644
--- a/test/cctest/wasm/wasm-run-utils.h
+++ b/test/cctest/wasm/wasm-run-utils.h
@@ -485,12 +485,11 @@ class WasmFunctionCompiler : public HandleAndZoneScope,
}
CompilationInfo info(debug_name_, this->isolate(), this->zone(),
Code::ComputeFlags(Code::WASM_FUNCTION));
- v8::base::SmartPointer<OptimizedCompileJob> job(
- Pipeline::NewWasmCompilationJob(&info, graph(), desc,
- &source_position_table_));
+ v8::base::SmartPointer<CompilationJob> job(Pipeline::NewWasmCompilationJob(
+ &info, graph(), desc, &source_position_table_));
Handle<Code> code = Handle<Code>::null();
- if (job->OptimizeGraph() == OptimizedCompileJob::SUCCEEDED &&
- job->GenerateCode() == OptimizedCompileJob::SUCCEEDED) {
+ if (job->OptimizeGraph() == CompilationJob::SUCCEEDED &&
+ job->GenerateCode() == CompilationJob::SUCCEEDED) {
code = info.code();
}
#ifdef ENABLE_DISASSEMBLER
« no previous file with comments | « src/optimizing-compile-dispatcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698