[WinEH] Reset WinEHPrepare::SEHExceptionCodeSlot when we're done.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Wed, 6 May 2015 01:28:58 +0000 (01:28 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Wed, 6 May 2015 01:28:58 +0000 (01:28 +0000)
commited363c5dcb3838ee1078cc74605710322a78514c
tree097c3be9a0ed0353d27501c3e73fb479def631c9
parentf9c4c424aca0d87f6b87054a1bd374ff189e5ab4
[WinEH] Reset WinEHPrepare::SEHExceptionCodeSlot when we're done.

This caused a use-after-free on test/CodeGen/X86/win32-eh.ll
No functional change intended.

llvm-svn: 236561
llvm/lib/CodeGen/WinEHPrepare.cpp