]> granicus.if.org Git - clang/commit
If we're resolving all outstanding fixups, and there are multiple fixups
authorJohn McCall <rjmccall@apple.com>
Tue, 5 Oct 2010 02:33:56 +0000 (02:33 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 5 Oct 2010 02:33:56 +0000 (02:33 +0000)
commit0680e97465a5d0ef78fd71ea7b806d9df239b3ca
tree767b9336aae0b168696e8e8413b494f83b308445
parent9e2213ddd5b3510fa48e3175e9d098db4224cc30
If we're resolving all outstanding fixups, and there are multiple fixups
for the same destination, then we must potentially rewrite the initial branch
of every fixup.  Without this patch, a short-circuit check meant to prevent
a switch case from being redundantly added was preventing later fixups from
being processed.  Fixes PR8175 (again).

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