Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 14392d1d6143d13691377a6856bb29e8303c42f3..65e789f0328dd826f8db53a07b4672f623b84571 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5242,9 +5242,7 @@ |
return Map::cast(object)->CanTransition() && |
FLAG_weak_embedded_maps_in_optimized_code; |
} |
- if (object->IsCell() || object->IsPropertyCell()) { |
- object = Cell::cast(object)->value(); |
- } |
+ if (object->IsCell()) object = Cell::cast(object)->value(); |
if (object->IsJSObject()) { |
return FLAG_weak_embedded_objects_in_optimized_code; |
} |