| Index: src/runtime/runtime-internal.cc
|
| diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc
|
| index ba20aa392ebe2ad6ba6b48c4beb6af56949e5143..6d177b2adf2ebc23f410964bbcab2af89b8db5af 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;
|
| }
|
|
|