Index: src/log.cc |
=================================================================== |
--- src/log.cc (revision 4699) |
+++ src/log.cc (working copy) |
@@ -170,7 +170,7 @@ |
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; |