Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index f919c9da78d7c7539fbf04b35c30b19e3182872a..b8fc57ab76d194958b7e6959f1a820a4b429c0c7 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(); |