aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-01-07 01:49:06 +0000
committerJohn McCall <rjmccall@apple.com>2011-01-07 01:49:06 +0000
commit1c926b78feaae00409e5dd3aa672f55cb47c2bb3 (patch)
tree8becdb27081b1e5ca400e53f716ee07e11865b46 /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
parenta4cfff87b9b1bce0b0c221096d2534e8277b39e2 (diff)
downloadllvm-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