Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index e47478d4ea28b0a7578e0b5864936021c1c4ed41..8134761ddba0cf5390614c5bc759c53c5695394e 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -5793,8 +5793,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()); |