Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index cb63b2b3bf16808a0e28d63c6cd2670c207456c6..35f7e5145f108ed840d0d2dc348598b816d57914 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -2055,6 +2055,9 @@ bool Isolate::Init(Deserializer* des) { |
InitializeThreadLocal(); |
bootstrapper_->Initialize(create_heap_objects); |
+ |
+ deoptimizer_data_ = new DeoptimizerData; |
+ |
builtins_.SetUp(create_heap_objects); |
// Only preallocate on the first initialization. |
@@ -2077,8 +2080,6 @@ bool Isolate::Init(Deserializer* des) { |
debug_->SetUp(create_heap_objects); |
#endif |
- deoptimizer_data_ = new DeoptimizerData; |
Toon Verwaest
2013/02/13 15:14:51
Why did you move this?
mvstanton
2013/02/19 11:04:08
Because the array constructor is a built-in, and n
|
- |
// If we are deserializing, read the state into the now-empty heap. |
if (!create_heap_objects) { |
des->Deserialize(); |