Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index eac53cbab5db237308536d63aa8e0b6a1ca28258..037d33c5039daeec1dac8458ad459d8ddf93985c 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -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()) { |