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

Unified Diff: src/v8.cc

Issue 9976003: Minimize uses of lazy initialization by adding explicit initialization functions. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 9 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/v8.cc
diff --git a/src/v8.cc b/src/v8.cc
index d9351dcbcaff8ccecc0065cf4fe9556883962703..db952e9974fe703ab848414a8030568640813c9e 100644
--- a/src/v8.cc
+++ b/src/v8.cc
@@ -27,11 +27,13 @@
#include "v8.h"
+#include "assembler.h"
#include "isolate.h"
#include "elements.h"
#include "bootstrapper.h"
#include "debug.h"
#include "deoptimizer.h"
+#include "frames.h"
#include "heap-profiler.h"
#include "hydrogen.h"
#include "lithium-allocator.h"
@@ -273,6 +275,9 @@ void V8::InitializeOncePerProcessImpl() {
}
LOperand::SetUpCaches();
+ SetUpJSCallerSavedCodeData();
+ SamplerRegistry::GlobalSetUp();
danno 2012/04/04 20:47:57 nit: Perhaps just SetUp rather than GlobalSetUp, s
Philippe 2012/04/05 11:30:18 Done.
+ ExternalReference::GlobalSetUp();
danno 2012/04/04 20:47:57 Same here
Philippe 2012/04/05 11:30:18 Done.
}
void V8::InitializeOncePerProcess() {

Powered by Google App Engine
This is Rietveld 408576698