Index: src/profiler/profile-generator.cc |
diff --git a/src/profiler/profile-generator.cc b/src/profiler/profile-generator.cc |
index bd79d934e07a11f86b5cef556206e151ff31584e..e9465ba5427ea4082ffee230d5409f9455876edc 100644 |
--- a/src/profiler/profile-generator.cc |
+++ b/src/profiler/profile-generator.cc |
@@ -604,6 +604,7 @@ void ProfileGenerator::RecordTickSample(const TickSample& sample) { |
// Find out, if top of stack was pointing inside a JS function |
// meaning that we have encountered a frameless invocation. |
if (!pc_entry && (sample.top_frame_type == StackFrame::JAVA_SCRIPT || |
+ sample.top_frame_type == StackFrame::INTERPRETED || |
sample.top_frame_type == StackFrame::OPTIMIZED)) { |
pc_entry = code_map_.FindEntry(sample.tos); |
} |