Index: runtime/vm/stack_frame.cc |
=================================================================== |
--- runtime/vm/stack_frame.cc (revision 40039) |
+++ runtime/vm/stack_frame.cc (working copy) |
@@ -99,7 +99,9 @@ |
Array maps; |
maps = Array::null(); |
Stackmap map; |
- map = code.GetStackmap(pc(), &maps, &map); |
+ 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()); |
RawObject** last = reinterpret_cast<RawObject**>( |