Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index ecb5bf1b5164265ae48d7f4be04d01181a7c8c65..e3f46c9e54f2019e92f3d198476650f0f2bf3e8d 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -12505,8 +12505,7 @@ bool DependentCode::MarkCodeForDeoptimization( |
WeakCell* cell = WeakCell::cast(obj); |
if (cell->cleared()) continue; |
Code* code = Code::cast(cell->value()); |
- if (!code->marked_for_deoptimization() && |
- (!code->is_turbofanned() || FLAG_turbo_deoptimization)) { |
+ if (!code->marked_for_deoptimization()) { |
SetMarkedForDeoptimization(code, group); |
if (invalidate_embedded_objects) { |
code->InvalidateEmbeddedObjects(); |