diff options
author | John McCall <rjmccall@apple.com> | 2011-01-07 01:49:06 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-01-07 01:49:06 +0000 |
commit | 1c926b78feaae00409e5dd3aa672f55cb47c2bb3 (patch) | |
tree | 8becdb27081b1e5ca400e53f716ee07e11865b46 /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp | |
parent | a4cfff87b9b1bce0b0c221096d2534e8277b39e2 (diff) | |
download | llvm-1c926b78feaae00409e5dd3aa672f55cb47c2bb3.zip llvm-1c926b78feaae00409e5dd3aa672f55cb47c2bb3.tar.gz llvm-1c926b78feaae00409e5dd3aa672f55cb47c2bb3.tar.bz2 |
Rework a few things about how we emit ObjC's for enumeration statement.
In particular, the iteration variable (if present) should be created and
destroyed in a narrow span around the loop body, and the body should
be emitted in a cleanup scope in case it's not a compound statement.
Otherwise, rename a few variables and use phis instead of temporary
variables for the index and buffer count.
llvm-svn: 122988
Diffstat (limited to 'llvm/lib/CodeGen/LocalStackSlotAllocation.cpp')
0 files changed, 0 insertions, 0 deletions