Index: test/cctest/interpreter/interpreter-tester.h |
diff --git a/test/cctest/interpreter/interpreter-tester.h b/test/cctest/interpreter/interpreter-tester.h |
index 3c07de17e2341611458c390e9f2794c3b7c37966..f0a0aef6e3bd139feb21e46737591ac81d4d3d1f 100644 |
--- a/test/cctest/interpreter/interpreter-tester.h |
+++ b/test/cctest/interpreter/interpreter-tester.h |
@@ -117,6 +117,7 @@ class InterpreterTester { |
function->shared()->set_function_data(*bytecode_.ToHandleChecked()); |
} |
if (!feedback_metadata_.is_null()) { |
+ function->set_feedback_vector_cell(isolate_->heap()->undefined_cell()); |
function->shared()->set_feedback_metadata( |
*feedback_metadata_.ToHandleChecked()); |
JSFunction::EnsureLiterals(function); |