equal
deleted
inserted
replaced
2987 // We use the odd half-closed interval so that oop maps and scope descs |
2987 // We use the odd half-closed interval so that oop maps and scope descs |
2988 // which are tied to the byte after a call are printed with the call itself. |
2988 // which are tied to the byte after a call are printed with the call itself. |
2989 address base = code_begin(); |
2989 address base = code_begin(); |
2990 ImmutableOopMapSet* oms = oop_maps(); |
2990 ImmutableOopMapSet* oms = oop_maps(); |
2991 if (oms != NULL) { |
2991 if (oms != NULL) { |
2992 for (int i = 0, imax = oms->size(); i < imax; i++) { |
2992 for (int i = 0, imax = oms->count(); i < imax; i++) { |
2993 const ImmutableOopMapPair* pair = oms->pair_at(i); |
2993 const ImmutableOopMapPair* pair = oms->pair_at(i); |
2994 const ImmutableOopMap* om = pair->get_from(oms); |
2994 const ImmutableOopMap* om = pair->get_from(oms); |
2995 address pc = base + pair->pc_offset(); |
2995 address pc = base + pair->pc_offset(); |
2996 if (pc > begin) { |
2996 if (pc > begin) { |
2997 if (pc <= end) { |
2997 if (pc <= end) { |