| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index 1c1b58593e72674b5f3158eeb6ab4da51d559a44..f0c77bd8a78d8cdeebc91177beb3e6dc24c261e6 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -5786,8 +5786,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());
|
|
|