]> granicus.if.org Git - clang/commit
When destroying a cleanup, kill any references to instructions in the entry
authorJohn McCall <rjmccall@apple.com>
Tue, 6 Jul 2010 17:35:03 +0000 (17:35 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 6 Jul 2010 17:35:03 +0000 (17:35 +0000)
commit66d80a9c99ef781f0fd56dfcd060e30d4d673c93
tree3b05e064de5fcd053940c5cce07a19dd2067cf93
parent7d6228fc77baf405c6554bb47904fc197e33b488
When destroying a cleanup, kill any references to instructions in the entry
block before deleting it.  Fixes PR7575.

This really just a short-term fix before implementing lazy cleanups.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107676 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenFunction.cpp
test/CodeGenCXX/destructors.cpp