[coroutines] Fix leak in CGCoroutine.cpp
authorGor Nishanov <GorNishanov@gmail.com>
Wed, 24 May 2017 01:54:37 +0000 (01:54 +0000)
committerGor Nishanov <GorNishanov@gmail.com>
Wed, 24 May 2017 01:54:37 +0000 (01:54 +0000)
commitdb615dd677b65c89266e413ad14bf9377cf84e93
tree5d1d34585091ba8514c80d10fc7c82b25c9f440d
parent9f4950afd2a78ca1bdd7c60356273402962479fa
[coroutines] Fix leak in CGCoroutine.cpp

FinalBB need to be emitted even when unused to make sure it is deleted

llvm-svn: 303714
clang/lib/CodeGen/CGCoroutine.cpp