Index: test/cctest/compiler/test-run-bytecode-graph-builder.cc |
diff --git a/test/cctest/compiler/test-run-bytecode-graph-builder.cc b/test/cctest/compiler/test-run-bytecode-graph-builder.cc |
index 580e3b1e4488642a520051d9f8ba648299bf1d50..024747f9f76fbc83f10848dde57bee6064897c1e 100644 |
--- a/test/cctest/compiler/test-run-bytecode-graph-builder.cc |
+++ b/test/cctest/compiler/test-run-bytecode-graph-builder.cc |
@@ -129,8 +129,7 @@ class BytecodeGraphTester { |
compilation_info.SetOptimizing(); |
compilation_info.MarkAsDeoptimizationEnabled(); |
compilation_info.MarkAsOptimizeFromBytecode(); |
- compiler::Pipeline pipeline(&compilation_info); |
- Handle<Code> code = pipeline.GenerateCode(); |
+ Handle<Code> code = Pipeline::GenerateCodeForTesting(&compilation_info); |
function->ReplaceCode(*code); |
return function; |