]> granicus.if.org Git - clang/commit
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)
commit6900b8698ffb0ceed39682c2261261b6d91b82d4
tree0d26496ad56e5e6bb91f5bc35a32a6082e54c5c0
parenta0c03b31d22c951a9052c30e9f3696115be12dfe
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224476 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CoverageMappingGen.cpp