Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 1517cdb1ec1bc72e9e2c4839cfdb10b30ad07767..432369f7b1c7f4e02869450697eb11ab6df097d3 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -675,7 +675,6 @@ MUST_USE_RESULT static MaybeHandle<Code> GetUnoptimizedCodeCommon( |
// Update the code and feedback vector for the shared function info. |
shared->ReplaceCode(*info->code()); |
- if (shared->optimization_disabled()) info->code()->set_optimizable(false); |
shared->set_feedback_vector(*info->feedback_vector()); |
return info->code(); |