Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index e9d526a4538925d3cb146814a2be7ed6a72621a7..f4807a629700f91dc4344ecce14571a4f2a0313a 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -2177,6 +2177,12 @@ bool Isolate::Init(Deserializer* des) { |
// occur, clearing/updating ICs. |
runtime_profiler_ = new RuntimeProfiler(this); |
+ if (create_heap_objects) { |
+ if (!bootstrapper_->CreateCodeStubContext(this)) { |
+ return false; |
+ } |
+ } |
+ |
// If we are deserializing, read the state into the now-empty heap. |
if (!create_heap_objects) { |
des->Deserialize(this); |