| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 69f1072a07a1b05accf6d00b65c793bb9eac3931..79147d622c4e35aeb9791effc0e4064ea730438d 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -2330,6 +2330,7 @@ void Factory::ReinitializeJSGlobalProxy(Handle<JSGlobalProxy> object,
|
| map->set_is_prototype_map(true);
|
| }
|
| JSObject::NotifyMapChange(old_map, map, isolate());
|
| + old_map->NotifyLeafMapLayoutChange();
|
|
|
| // Check that the already allocated object has the same size and type as
|
| // objects allocated using the constructor.
|
|
|