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 96234f8fac0d43646349c41bb3b1e3d266dfea72..580e3b1e4488642a520051d9f8ba648299bf1d50 100644 |
--- a/test/cctest/compiler/test-run-bytecode-graph-builder.cc |
+++ b/test/cctest/compiler/test-run-bytecode-graph-builder.cc |
@@ -128,6 +128,7 @@ class BytecodeGraphTester { |
CompilationInfo compilation_info(&parse_info, function); |
compilation_info.SetOptimizing(); |
compilation_info.MarkAsDeoptimizationEnabled(); |
+ compilation_info.MarkAsOptimizeFromBytecode(); |
compiler::Pipeline pipeline(&compilation_info); |
Handle<Code> code = pipeline.GenerateCode(); |
function->ReplaceCode(*code); |