projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98cdfc7
)
fix a -Wbool-conversions warning from clang.
author
Chris Lattner
<sabre@nondot.org>
Mon, 14 Jun 2010 18:28:57 +0000
(18:28 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 14 Jun 2010 18:28:57 +0000
(18:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105943
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/CBackend/CBackend.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/CBackend/CBackend.cpp
b/lib/Target/CBackend/CBackend.cpp
index 55b8aaa4179f66b031f4cdc20eb1ce99e9c1204c..fa145b24dfb6c81ffec0269fedc6532d0498ac82 100644
(file)
--- a/
lib/Target/CBackend/CBackend.cpp
+++ b/
lib/Target/CBackend/CBackend.cpp
@@
-264,7
+264,7
@@
namespace {
//
static const AllocaInst *isDirectAlloca(const Value *V) {
const AllocaInst *AI = dyn_cast<AllocaInst>(V);
- if (!AI) return
false
;
+ if (!AI) return
0
;
if (AI->isArrayAllocation())
return 0; // FIXME: we can also inline fixed size array allocas!
if (AI->getParent() != &AI->getParent()->getParent()->getEntryBlock())