Index: runtime/vm/exceptions.cc |
diff --git a/runtime/vm/exceptions.cc b/runtime/vm/exceptions.cc |
index 2cb67e176be1503a37d99737c3dd776bacb66ea7..37a99f25dcae5330f9ae9ccad548e67247c7825b 100644 |
--- a/runtime/vm/exceptions.cc |
+++ b/runtime/vm/exceptions.cc |
@@ -127,7 +127,7 @@ static void BuildStackTrace(StacktraceBuilder* builder) { |
while (frame != NULL) { |
if (frame->IsDartFrame()) { |
code = frame->LookupDartCode(); |
- offset = Smi::New(frame->pc() - code.EntryPoint()); |
+ offset = Smi::New(frame->pc() - code.PayloadStart()); |
builder->AddFrame(code, offset); |
} |
frame = frames.NextFrame(); |