| 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 9a038221a18d36b98a4f27418a2ddfa85e286bad..13180b50adab82b7f04ffd9fca80ff8d46a8c317 100644
|
| --- a/test/cctest/compiler/test-run-bytecode-graph-builder.cc
|
| +++ b/test/cctest/compiler/test-run-bytecode-graph-builder.cc
|
| @@ -136,6 +136,9 @@ class BytecodeGraphTester {
|
| compilation_info.MarkAsDeoptimizationEnabled();
|
| compiler::Pipeline pipeline(&compilation_info);
|
| Handle<Code> code = pipeline.GenerateCode();
|
| + // We do not actually record weak dependencies between objects and
|
| + // code objects. We just clear the dependencies for now.
|
| + compilation_info.dependencies()->Commit(compilation_info.code());
|
| function->ReplaceCode(*code);
|
|
|
| return function;
|
|
|