Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 128136faa0b83d47ba0ed90fa972cf04282e1d2f..93742bd7cde1e77e5ff83b13d836b72b7f645a6d 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1836,13 +1836,12 @@ bool Isolate::Init(Deserializer* des) { |
#ifdef ENABLE_DEBUGGER_SUPPORT |
debug_->SetUp(create_heap_objects); |
#endif |
- stub_cache_->Initialize(create_heap_objects); |
// If we are deserializing, read the state into the now-empty heap. |
if (des != NULL) { |
des->Deserialize(); |
- stub_cache_->Initialize(true); |
} |
+ stub_cache_->Initialize(); |
// Finish initialization of ThreadLocal after deserialization is done. |
clear_pending_exception(); |