Commit e39d33d3 authored by jkummerow's avatar jkummerow Committed by Commit bot

Add missing Handle to GetOrCreatePrototypeChainValidityCell

Follow-up to 333219a7.

NOTRY=true
NOTREECHECKS=true

Review URL: https://codereview.chromium.org/1095503002

Cr-Commit-Position: refs/heads/master@{#27874}
parent e481c91b
...@@ -10126,8 +10126,8 @@ Handle<Cell> Map::GetOrCreatePrototypeChainValidityCell(Handle<Map> map, ...@@ -10126,8 +10126,8 @@ Handle<Cell> Map::GetOrCreatePrototypeChainValidityCell(Handle<Map> map,
PrototypeIterator iter(isolate, prototype); PrototypeIterator iter(isolate, prototype);
prototype = Handle<JSObject>::cast(PrototypeIterator::GetCurrent(iter)); prototype = Handle<JSObject>::cast(PrototypeIterator::GetCurrent(iter));
} }
PrototypeInfo* proto_info = Handle<PrototypeInfo> proto_info(
PrototypeInfo::cast(prototype->map()->prototype_info()); PrototypeInfo::cast(prototype->map()->prototype_info()));
Object* maybe_cell = proto_info->validity_cell(); Object* maybe_cell = proto_info->validity_cell();
// Return existing cell if it's still valid. // Return existing cell if it's still valid.
if (maybe_cell->IsCell()) { if (maybe_cell->IsCell()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment