summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2007-08-22 18:22:34 +0000
committerTed Kremenek <kremenek@apple.com>2007-08-22 18:22:34 +0000
commit7e776b1d9c8d0f5da45ca64799d17a72508f95cb (patch)
treeea98a8d3e7fa47032ebc2478e73ac6cff96e8f9a /llvm
parentcd8beb764541daa6aa69480e71880575fbaac769 (diff)
downloadbcm5719-llvm-7e776b1d9c8d0f5da45ca64799d17a72508f95cb.tar.gz
bcm5719-llvm-7e776b1d9c8d0f5da45ca64799d17a72508f95cb.zip
Added CFG support for: for loops
In CFG dumper, refactored the code to print block terminators into a StmtVisitor. Added the method "FinishBlock" to CFGBuilder to do the reversal of statements in a block instead of calling "reverseStmts" for a block directly. This was necessary to fix a bug in how blocks with labels were being processed (some cases would cause the statements to be reversed twice). FinishBlock detects blocks that start with labels and doesn't do a second reversal. llvm-svn: 41281
Diffstat (limited to 'llvm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud