BUG=v8:3882
LOG=NO
Review URL: https://codereview.chromium.org/
909123002
Cr-Commit-Position: refs/heads/master@{#26549}
return Map::cast(object)->CanTransition() &&
FLAG_weak_embedded_maps_in_optimized_code;
}
- if (object->IsCell()) object = Cell::cast(object)->value();
+ if (object->IsCell() || object->IsPropertyCell()) {
+ object = Cell::cast(object)->value();
+ }
if (object->IsJSObject()) {
return FLAG_weak_embedded_objects_in_optimized_code;
}