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 9c2b05dd4bf8cef5ad559c66966974b3abe68951..74a51b915acc06376007321dfccf61efd2dd8bba 100644 |
--- a/test/cctest/compiler/test-run-bytecode-graph-builder.cc |
+++ b/test/cctest/compiler/test-run-bytecode-graph-builder.cc |
@@ -124,7 +124,7 @@ class BytecodeGraphTester { |
// TODO(mstarzinger): We should be able to prime CompilationInfo without |
// having to instantiate a ParseInfo first. Fix this! |
- ParseInfo parse_info(zone_, function); |
+ ParseInfo parse_info(zone_, handle(function->shared())); |
CompilationInfo compilation_info(&parse_info, function); |
compilation_info.SetOptimizing(); |