| Index: src/snapshot/deserializer.cc
|
| diff --git a/src/snapshot/deserializer.cc b/src/snapshot/deserializer.cc
|
| index ab5afa7f88ce1d266bd3455c44803d5ba2785c43..1deff33c65ce038a8d51d61b4d6819b5b8b2a324 100644
|
| --- a/src/snapshot/deserializer.cc
|
| +++ b/src/snapshot/deserializer.cc
|
| @@ -127,6 +127,8 @@ MaybeHandle<Object> Deserializer::DeserializePartial(
|
| VisitPointer(&root);
|
| DeserializeDeferredObjects();
|
|
|
| + isolate->heap()->RegisterReservationsForBlackAllocation(reservations_);
|
| +
|
| // There's no code deserialized here. If this assert fires then that's
|
| // changed and logging should be added to notify the profiler et al of the
|
| // new code, which also has to be flushed from instruction cache.
|
| @@ -152,6 +154,7 @@ MaybeHandle<SharedFunctionInfo> Deserializer::DeserializeCode(
|
| result = Handle<SharedFunctionInfo>(SharedFunctionInfo::cast(root));
|
| }
|
| CommitPostProcessedObjects(isolate);
|
| + isolate->heap()->RegisterReservationsForBlackAllocation(reservations_);
|
| return scope.CloseAndEscape(result);
|
| }
|
| }
|
|
|