Index: src/v8.cc |
diff --git a/src/v8.cc b/src/v8.cc |
index ca436babd5e11c00e08707da390834d36ccd0eb5..c5c6df33a0de198859a93776e780c66e34c58e00 100644 |
--- a/src/v8.cc |
+++ b/src/v8.cc |
@@ -121,8 +121,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(); |