Files
swift-mirror/lib/SILGen/SILGenStmt.cpp
Joe Groff 31e761ca3e SILGen: Don't overrelease the for-each iteration value when break-ing.
We don't ever need to destroy_addr the iteration value buffer, because either the for loop exited normally because it's nil, or it exited by 'break' and it contains a stale 'Some' value that was consumed by the loop body. Fixes <rdar://problem/16687672>.

Swift SVN r16942
2014-04-27 21:39:03 +00:00

21 KiB