Index: src/v8.cc |
diff --git a/src/v8.cc b/src/v8.cc |
index df92690903918d435b029007712993e0aaf3c29e..494bb30d9a03eee848c8c569868629cb8dbdee3c 100644 |
--- a/src/v8.cc |
+++ b/src/v8.cc |
@@ -41,6 +41,7 @@ |
#include "objects.h" |
#include "once.h" |
#include "platform.h" |
+#include "sampler.h" |
#include "runtime-profiler.h" |
#include "serialize.h" |
#include "store-buffer.h" |
@@ -123,6 +124,7 @@ void V8::TearDown() { |
delete call_completed_callbacks_; |
call_completed_callbacks_ = NULL; |
+ Sampler::TearDown(); |
OS::TearDown(); |
} |
@@ -270,6 +272,7 @@ void V8::InitializeOncePerProcessImpl() { |
} |
if (FLAG_trace_hydrogen) FLAG_parallel_recompilation = false; |
OS::SetUp(); |
+ Sampler::SetUp(); |
CPU::SetUp(); |
use_crankshaft_ = FLAG_crankshaft |
&& !Serializer::enabled() |