Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index e0783265f0ec9c6113fa7b15bbf15fefa4598f8a..a0ec3bd33217e524893df209a4530a77e3dcf5fe 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -395,7 +395,7 @@ bool ComputeLocation(Isolate* isolate, MessageLocation* target) { |
List<FrameSummary> frames(FLAG_max_inlining_levels + 1); |
it.frame()->Summarize(&frames); |
FrameSummary& summary = frames.last(); |
- int pos = summary.code()->SourcePosition(summary.pc()); |
+ int pos = summary.abstract_code()->SourcePosition(summary.code_offset()); |
*target = MessageLocation(casted_script, pos, pos + 1, handle(fun)); |
return true; |
} |