]> granicus.if.org Git - clang/commit
IRgen: Fix silly thinko in r112021, which was generating code for the same expr
authorDaniel Dunbar <daniel@zuster.org>
Fri, 3 Sep 2010 02:07:00 +0000 (02:07 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 3 Sep 2010 02:07:00 +0000 (02:07 +0000)
commitdb50547fd526329d00fa1fee4e7ac90f2624c6e0
tree3dc5fe98e9c3df468825f9826d355d4c0bd84ec5
parent52fc314e1b5e1baee6305067cf831763d02bd243
IRgen: Fix silly thinko in r112021, which was generating code for the same expr
twice. This showed up as an assert on the odd test case because we generated the
decl map entry twice.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112943 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprScalar.cpp
test/CodeGen/_Bool-conversion.c