Index: src/sampler.cc |
diff --git a/src/sampler.cc b/src/sampler.cc |
index 6d97110b1d5deecd08e518deb20d3d1870d4ae36..63d0aa88cc722468602f1da7ac023071a268c76c 100644 |
--- a/src/sampler.cc |
+++ b/src/sampler.cc |
@@ -637,6 +637,7 @@ DISABLE_ASAN void TickSample::Trace(Isolate* isolate) { |
} |
SafeStackFrameIterator it(isolate, fp, sp, sp, js_entry_sp); |
+ top_frame_type = it.top_frame_type(); |
int i = 0; |
while (!it.done() && i < TickSample::kMaxFramesCount) { |
stack[i++] = it.frame()->pc(); |