| Index: src/log.cc
|
| diff --git a/src/log.cc b/src/log.cc
|
| index 0bca5ebd8656066fb8cdf00df88c368a51aa8ba7..a9d89a20ea49fd848dcdc3edd43fff07a7aa8010 100644
|
| --- a/src/log.cc
|
| +++ b/src/log.cc
|
| @@ -171,7 +171,9 @@ 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++] = reinterpret_cast<Address>(it.frame()->function());
|
| + sample->stack[i++] =
|
| + reinterpret_cast<Address>(it.frame()->function_slot_object()) -
|
| + kHeapObjectTag;
|
| it.Advance();
|
| }
|
| sample->frames_count = i;
|
|
|