InstrProf: Simplify/reduce state in CoverageMapping (NFC)
authorJustin Bogner <mail@justinbogner.com>
Wed, 17 Dec 2014 23:55:04 +0000 (23:55 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 17 Dec 2014 23:55:04 +0000 (23:55 +0000)
commit8e015ff43bd844480fb33eb1ff0aec9826361f1a
tree2676feddc00ba39841a9c5aec9581586f073a38d
parentd1cdcb237713946e964c8de18759752697494227
InstrProf: Simplify/reduce state in CoverageMapping (NFC)

This state object makes things harder to reason about and isn't really
useful, since we can just emit the mappings before the state changes
rather than holding on to it.

llvm-svn: 224476
clang/lib/CodeGen/CoverageMappingGen.cpp