Index: src/snapshot/startup-serializer.cc |
diff --git a/src/snapshot/startup-serializer.cc b/src/snapshot/startup-serializer.cc |
index 80598e80bd04aa30a6b0c949feb8df69a7a53a44..a6dca9d25ec5282cea96b53e038a0672da685572 100644 |
--- a/src/snapshot/startup-serializer.cc |
+++ b/src/snapshot/startup-serializer.cc |
@@ -116,10 +116,8 @@ void StartupSerializer::SerializeStrongReferences() { |
CHECK_NULL(isolate->thread_manager()->FirstThreadStateInUse()); |
// No active or weak handles. |
CHECK(isolate->handle_scope_implementer()->blocks()->is_empty()); |
- CHECK_EQ(0, isolate->global_handles()->NumberOfWeakHandles()); |
+ CHECK_EQ(0, isolate->global_handles()->global_handles_count()); |
CHECK_EQ(0, isolate->eternal_handles()->NumberOfHandles()); |
- // We don't support serializing installed extensions. |
- CHECK(!isolate->has_installed_extensions()); |
// First visit immortal immovables to make sure they end up in the first page. |
serializing_immortal_immovables_roots_ = true; |
isolate->heap()->IterateStrongRoots(this, VISIT_ONLY_STRONG_ROOT_LIST); |