Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index cee3d3ab18c41bbaf7528e50a8555bcbd047305e..572a20ab4fc41fd7ee0ff93ee16c90b8d6458c69 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -2968,11 +2968,11 @@ Handle<Code> CompileWasmFunction(wasm::ErrorThrower& thrower, Isolate* isolate, |
} |
} |
CompilationInfo info(func_name, isolate, jsgraph->graph()->zone(), flags); |
- base::SmartPointer<OptimizedCompileJob> job(Pipeline::NewWasmCompilationJob( |
+ base::SmartPointer<CompilationJob> job(Pipeline::NewWasmCompilationJob( |
&info, jsgraph->graph(), descriptor, source_positions)); |
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(); |
} |