| Index: src/log.cc
|
| diff --git a/src/log.cc b/src/log.cc
|
| index 3984d01213e55fe7258f1234a5a2d9d51a0701ff..d6a2c58b89796c7f06e4c7a983c93c088e39c3f5 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.
|
| //
|
|
|