| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 27528d644253793d8418fc019ec183557cd52c31..18c0a68b673370780782215523ca5240049ff22c 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -4867,7 +4867,6 @@ Object* Code::GetObjectFromEntryAddress(Address location_of_address) {
|
|
|
|
|
| bool Code::IsWeakObjectInOptimizedCode(Object* object) {
|
| - if (!FLAG_collect_maps) return false;
|
| if (object->IsMap()) {
|
| return Map::cast(object)->CanTransition() &&
|
| FLAG_weak_embedded_maps_in_optimized_code;
|
|
|