They were both only called from one place and did very similar things. Merge them into one, so we only have to iterate the source line once to generate the SourceMap. Differential Revision: https://reviews.llvm.org/D151100
iterator_range