Index: runtime/vm/code_descriptors_test.cc |
=================================================================== |
--- runtime/vm/code_descriptors_test.cc (revision 38336) |
+++ runtime/vm/code_descriptors_test.cc (working copy) |
@@ -259,8 +259,8 @@ |
int call_count = 0; |
PcDescriptors::Iterator iter(descriptors, RawPcDescriptors::kUnoptStaticCall); |
while (iter.HasNext()) { |
- const RawPcDescriptors::PcDescriptorRec& rec = iter.Next(); |
- stackmap_table_builder->AddEntry(rec.pc() - code.EntryPoint(), |
+ const uword pc = iter.NextPc(); |
+ stackmap_table_builder->AddEntry(pc - code.EntryPoint(), |
stack_bitmap, |
0); |
++call_count; |