| Index: src/snapshot/snapshot-common.cc
|
| diff --git a/src/snapshot/snapshot-common.cc b/src/snapshot/snapshot-common.cc
|
| index 0b7e11d1ec4a0f225e88d9d5a2bce331ad2cb222..553d8b46fcce59d3041c0e7ead882cdc2a6f2d9d 100644
|
| --- a/src/snapshot/snapshot-common.cc
|
| +++ b/src/snapshot/snapshot-common.cc
|
| @@ -82,10 +82,6 @@ MaybeHandle<Context> Snapshot::NewContextFromSnapshot(
|
| Handle<Object> result;
|
| if (!maybe_context.ToHandle(&result)) return MaybeHandle<Context>();
|
| CHECK(result->IsContext());
|
| - // If the snapshot does not contain a custom script, we need to update
|
| - // the global object for exactly two contexts: the builtins context and the
|
| - // script context that has the global "this" binding.
|
| - CHECK(EmbedsScript(isolate) || (*outdated_contexts_out)->length() == 2);
|
| if (FLAG_profile_deserialization) {
|
| double ms = timer.Elapsed().InMillisecondsF();
|
| int bytes = context_data.length();
|
|
|