Index: test/cctest/interpreter/interpreter-tester.h |
diff --git a/test/cctest/interpreter/interpreter-tester.h b/test/cctest/interpreter/interpreter-tester.h |
index bab6950a45a6135bf1af37134bdfb46fba3a13e2..3b61bf04a5aa7962a624ae51e9681859a1e11672 100644 |
--- a/test/cctest/interpreter/interpreter-tester.h |
+++ b/test/cctest/interpreter/interpreter-tester.h |
@@ -117,9 +117,6 @@ class InterpreterTester { |
function->shared()->set_function_data(*bytecode_.ToHandleChecked()); |
} |
if (!feedback_metadata_.is_null()) { |
- // TODO(mvstanton): The call to ClearOptimizedCodeMap can be removed |
- // when we stop storing literals in the optimized code map (upcoming CL). |
- function->shared()->ClearOptimizedCodeMap(); |
function->shared()->set_feedback_metadata( |
*feedback_metadata_.ToHandleChecked()); |
JSFunction::EnsureLiterals(function); |