Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: src/isolate.cc

Issue 11818021: Allocation Info Tracking, continued. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698