This fixes the regressions after merging #174566 The problem was, that the lookup of the location takes logarithmic time as a function of the number of lines, and a large number of lines causes the slowdowns. Now all the lookups are guarded with checks if the AsmParserContext was passed in, to not waste time on information, that isn't requested.