Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index 891b0e2b8296b428daacbc91654bf780d2e9dd75..f48b3589866f55844b916ddc93dffd1361527fca 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -170,7 +170,7 @@ void StackTracer::Trace(TickSample* sample) { |
SafeStackTraceFrameIterator it(sample->fp, sample->sp, |
sample->sp, js_entry_sp); |
while (!it.done() && i < TickSample::kMaxFramesCount) { |
- sample->stack[i++] = it.frame()->pc(); |
+ sample->stack[i++] = reinterpret_cast<Address>(it.frame()->function()); |
it.Advance(); |
} |
sample->frames_count = i; |