Index: src/x64/deoptimizer-x64.cc |
diff --git a/src/x64/deoptimizer-x64.cc b/src/x64/deoptimizer-x64.cc |
index 4697749c646d3f8c2dcfe625e848d99f56badb6a..b2ef1b64d76271956ef25ce858ea342f9734883d 100644 |
--- a/src/x64/deoptimizer-x64.cc |
+++ b/src/x64/deoptimizer-x64.cc |
@@ -60,9 +60,6 @@ void Deoptimizer::PatchCodeForDeoptimization(Isolate* isolate, Code* code) { |
#endif |
DeoptimizationInputData* deopt_data = |
DeoptimizationInputData::cast(code->deoptimization_data()); |
- SharedFunctionInfo* shared = |
- SharedFunctionInfo::cast(deopt_data->SharedFunctionInfo()); |
- shared->EvictFromOptimizedCodeMap(code, "deoptimized code"); |
deopt_data->SetSharedFunctionInfo(Smi::FromInt(0)); |
// For each LLazyBailout instruction insert a call to the corresponding |
// deoptimization entry. |