projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SCC: Change clients to use const, NFC
[oota-llvm.git]
/
lib
/
IR
/
InlineAsm.cpp
diff --git
a/lib/IR/InlineAsm.cpp
b/lib/IR/InlineAsm.cpp
index 62d191dbce396513eb00c5c952c56c6a9db026f6..a3e1da3b189ae24154e6cd58f51a58a7a2415a39 100644
(file)
--- a/
lib/IR/InlineAsm.cpp
+++ b/
lib/IR/InlineAsm.cpp
@@
-274,7
+274,7
@@
bool InlineAsm::Verify(FunctionType *Ty, StringRef ConstStr) {
break;
default:
StructType *STy = dyn_cast<StructType>(Ty->getReturnType());
- if (
STy == 0
|| STy->getNumElements() != NumOutputs)
+ if (
!STy
|| STy->getNumElements() != NumOutputs)
return false;
break;
}