| Index: runtime/vm/stack_frame.cc
|
| diff --git a/runtime/vm/stack_frame.cc b/runtime/vm/stack_frame.cc
|
| index aac196b171d3fe197c0b02e68bf0f820d74aa89c..1c51ed64d83f285715308877deb35d541b03679a 100644
|
| --- a/runtime/vm/stack_frame.cc
|
| +++ b/runtime/vm/stack_frame.cc
|
| @@ -109,7 +109,8 @@ void StackFrame::VisitObjectPointers(ObjectPointerVisitor* visitor) {
|
| Array maps;
|
| maps = Array::null();
|
| Stackmap map;
|
| - const uword entry = code.EntryPoint();
|
| + const uword entry = reinterpret_cast<uword>(code.instructions()->ptr()) +
|
| + Instructions::HeaderSize();
|
| map = code.GetStackmap(pc() - entry, &maps, &map);
|
| if (!map.IsNull()) {
|
| RawObject** first = reinterpret_cast<RawObject**>(sp());
|
|
|