Index: src/v8.cc |
diff --git a/src/v8.cc b/src/v8.cc |
index 154cf6201d6c3dcb615b3520fd263c32de5a66c0..6a7aaab0628c99776e01a276845d587cdf264d98 100644 |
--- a/src/v8.cc |
+++ b/src/v8.cc |
@@ -14,9 +14,9 @@ |
#include "src/elements.h" |
#include "src/frames.h" |
#include "src/isolate.h" |
+#include "src/libsampler/v8-sampler.h" |
#include "src/objects.h" |
#include "src/profiler/heap-profiler.h" |
-#include "src/profiler/sampler.h" |
#include "src/runtime-profiler.h" |
#include "src/snapshot/natives.h" |
#include "src/snapshot/snapshot.h" |
@@ -48,7 +48,7 @@ void V8::TearDown() { |
ExternalReference::TearDownMathExpData(); |
RegisteredExtension::UnregisterAll(); |
Isolate::GlobalTearDown(); |
- Sampler::TearDown(); |
+ sampler::Sampler::TearDown(); |
FlagList::ResetAllFlags(); // Frees memory held by string arguments. |
} |
@@ -76,7 +76,7 @@ void V8::InitializeOncePerProcessImpl() { |
Isolate::InitializeOncePerProcess(); |
- Sampler::SetUp(); |
+ sampler::Sampler::SetUp(); |
CpuFeatures::Probe(false); |
ElementsAccessor::InitializeOncePerProcess(); |
LOperand::SetUpCaches(); |