Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index 04439f317cc5593160b070a2d7ec13f43db728d5..1b78bae30573e12b385cfbb24720aaef89561faf 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -342,8 +342,6 @@ void Deoptimizer::DeoptimizeMarkedCodeForContext(Context* context) { |
// Unlink this function and evict from optimized code map. |
SharedFunctionInfo* shared = function->shared(); |
function->set_code(shared->code()); |
- shared->EvictFromOptimizedCodeMap(function->context()->native_context(), |
- "deoptimized function"); |
if (FLAG_trace_deopt) { |
CodeTracer::Scope scope(code->GetHeap()->isolate()->GetCodeTracer()); |