diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-06 22:21:45 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-06 22:21:45 +0000 |
commit | 50020d946125d2aeec875271ad76ca7748bd8c9d (patch) | |
tree | 6c67811d56a75ebe883e8e60ffc3395f9deadb8d /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | f82eb4043be964effb70c55f7023a267b5006570 (diff) | |
download | llvm-50020d946125d2aeec875271ad76ca7748bd8c9d.zip llvm-50020d946125d2aeec875271ad76ca7748bd8c9d.tar.gz llvm-50020d946125d2aeec875271ad76ca7748bd8c9d.tar.bz2 |
Based on comments from Chris, switch to using CFG::getNumBlockIDs()
rather than a computed std::distance(). At some point I had convinced
myself that these two were different; but as far as I can tell on
re-exampination they aren't, and the number of block IDs is actually
just a count of the blocks in the CFG.
While this removes the primary motivation for guarding all of this with
CollectStats, I have a patch coming up that will almost certainly make
it important again.
llvm-svn: 134552
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions