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