diff options
| author | Ted Kremenek <kremenek@apple.com> | 2007-08-22 18:22:34 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2007-08-22 18:22:34 +0000 |
| commit | 7e776b1d9c8d0f5da45ca64799d17a72508f95cb (patch) | |
| tree | ea98a8d3e7fa47032ebc2478e73ac6cff96e8f9a /llvm | |
| parent | cd8beb764541daa6aa69480e71880575fbaac769 (diff) | |
| download | bcm5719-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

