Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index 0eaf0ff908f90ece2d3a9f565dfabcfa8972d52a..1240fbde46f781e8066ab9771d1ca7cb63e4ce67 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -334,7 +334,7 @@ bool ComputeLocation(Isolate* isolate, MessageLocation* target) { |
// information to get canonical location information. |
List<FrameSummary> frames(FLAG_max_inlining_levels + 1); |
it.frame()->Summarize(&frames); |
- FrameSummary& summary = frames.last(); |
+ auto& summary = frames.last().AsJavaScript(); |
Handle<JSFunction> function = summary.function(); |
Handle<Object> script(function->shared()->script(), isolate); |
int pos = summary.abstract_code()->SourcePosition(summary.code_offset()); |