Benjamin Kramer 4ccb49a838 CodeGenPrepare: Move ret duplication out of the instruction iteration loop.
It can delete the block, and the loop continues on free'd memory.
No change in output. Found by valgrind.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168525 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-23 19:17:06 +00:00
..
2012-10-16 19:39:40 +00:00
2012-10-08 16:38:25 +00:00
2012-10-08 16:38:25 +00:00
2012-10-08 16:38:25 +00:00
2012-10-08 16:38:25 +00:00