Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index c886bbff7c4c02c3c5fe24d5fdf1c524d4afb0e4..e95dd2965ba708eabe6c6fbd18b0a13d6c0adce2 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -5800,8 +5800,6 @@ void Heap::CompactWeakFixedArrays() { |
WeakFixedArray* array = WeakFixedArray::cast(prototype_users); |
array->Compact<JSObject::PrototypeRegistryCompactionCallback>(); |
} |
- } else if (o->IsScript()) { |
- CompactWeakFixedArray(Script::cast(o)->shared_function_infos()); |
} |
} |
CompactWeakFixedArray(noscript_shared_function_infos()); |