Add missing Handle to GetOrCreatePrototypeChainValidityCell
Follow-up to 333219a745
.
NOTRY=true
NOTREECHECKS=true
Review URL: https://codereview.chromium.org/1095503002
Cr-Commit-Position: refs/heads/master@{#27874}
This commit is contained in:
parent
e481c91b64
commit
e39d33d3df
@ -10126,8 +10126,8 @@ Handle<Cell> Map::GetOrCreatePrototypeChainValidityCell(Handle<Map> map,
|
||||
PrototypeIterator iter(isolate, prototype);
|
||||
prototype = Handle<JSObject>::cast(PrototypeIterator::GetCurrent(iter));
|
||||
}
|
||||
PrototypeInfo* proto_info =
|
||||
PrototypeInfo::cast(prototype->map()->prototype_info());
|
||||
Handle<PrototypeInfo> proto_info(
|
||||
PrototypeInfo::cast(prototype->map()->prototype_info()));
|
||||
Object* maybe_cell = proto_info->validity_cell();
|
||||
// Return existing cell if it's still valid.
|
||||
if (maybe_cell->IsCell()) {
|
||||
|
Loading…
Reference in New Issue
Block a user