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

Unified Diff: src/v8.cc

Issue 260003006: Added a Isolate* parameter to Serializer::enabled(). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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 c1eedd4901f2e6a37c07c6678e6799d16ea51baa..012e2e7a6b621d10fc6cec530ff15a31a129842b 100644
--- a/src/v8.cc
+++ b/src/v8.cc
@@ -144,8 +144,10 @@ void V8::InitializeOncePerProcessImpl() {
platform_ = new DefaultPlatform;
#endif
Sampler::SetUp();
- CpuFeatures::Probe(Serializer::enabled());
- OS::PostSetUp();
+ // TODO(svenpanne) Clean this up when Serializer is a real object.
+ bool serializer_enabled = Serializer::enabled(NULL);
+ CpuFeatures::Probe(serializer_enabled);
+ OS::PostSetUp(serializer_enabled);
ElementsAccessor::InitializeOncePerProcess();
LOperand::SetUpCaches();
SetUpJSCallerSavedCodeData();
« src/objects-visiting-inl.h ('K') | « src/serialize.cc ('k') | src/x64/assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698