Index: runtime/vm/code_descriptors_test.cc |
=================================================================== |
--- runtime/vm/code_descriptors_test.cc (revision 43041) |
+++ runtime/vm/code_descriptors_test.cc (working copy) |
@@ -250,9 +250,7 @@ |
int call_count = 0; |
PcDescriptors::Iterator iter(descriptors, RawPcDescriptors::kUnoptStaticCall); |
while (iter.MoveNext()) { |
- stackmap_table_builder->AddEntry(iter.Pc() - code.EntryPoint(), |
- stack_bitmap, |
- 0); |
+ stackmap_table_builder->AddEntry(iter.PcOffset(), stack_bitmap, 0); |
++call_count; |
} |
// We can't easily check that we put the stackmap at the correct pc, but |