Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index 11665c3761a7fe6fd45db09482f1d32dcf9277cd..1538894643f892f30def6a86a80738e4d7fcdf60 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -112,36 +112,6 @@ class Profiler: public Thread { |
// |
-// StackTracer implementation |
-// |
-DISABLE_ASAN void StackTracer::Trace(Isolate* isolate, TickSample* sample) { |
- ASSERT(isolate->IsInitialized()); |
- |
- // Avoid collecting traces while doing GC. |
- if (sample->state == GC) return; |
- |
- const Address js_entry_sp = |
- Isolate::js_entry_sp(isolate->thread_local_top()); |
- if (js_entry_sp == 0) { |
- // Not executing JS now. |
- return; |
- } |
- |
- sample->external_callback = isolate->external_callback(); |
- |
- SafeStackTraceFrameIterator it(isolate, |
- sample->fp, sample->sp, |
- sample->sp, js_entry_sp); |
- int i = 0; |
- while (!it.done() && i < TickSample::kMaxFramesCount) { |
- sample->stack[i++] = it.frame()->pc(); |
- it.Advance(); |
- } |
- sample->frames_count = i; |
-} |
- |
- |
-// |
// Ticker used to provide ticks to the profiler and the sliding state |
// window. |
// |