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 |