diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-09-24 18:45:41 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-09-24 18:45:41 +0000 |
commit | 6c2497248bc4f7fd8e5fb0a206d20abbf0e16645 (patch) | |
tree | 661fbbbb59d8cf2b4d1b6d66e5323000df226fe3 /lib/CodeGen/CodeGenTypes.cpp | |
parent | 584425c301325cf6af714eb76554cceabfab626c (diff) |
When building CFGs, no longer reverse the statements in the CFGBlock. Instead
have the iterators and operator[] handle the traversal of statements, as they
are stored in reverse order. Tests show this has no real performance impact, but
it does simply the CFG construction logic and will make it slightly easier to
change the allocation strategy for CFGBlocks (as we have fewer copies).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82702 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.cpp')
0 files changed, 0 insertions, 0 deletions