projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change:
[oota-llvm.git]
/
lib
/
VMCore
/
Constants.cpp
diff --git
a/lib/VMCore/Constants.cpp
b/lib/VMCore/Constants.cpp
index ba309d9ca0714a96a6e11a4ad13ec65e152ab0e4..a84a046bb9981e67f25b540247cfc51ca53e14db 100644
(file)
--- a/
lib/VMCore/Constants.cpp
+++ b/
lib/VMCore/Constants.cpp
@@
-105,7
+105,7
@@
Constant *Constant::getNullValue(Type *Ty) {
return ConstantAggregateZero::get(Ty);
default:
// Function, Label, or Opaque type?
- assert(
!
"Cannot create a null constant of that type!");
+ assert(
0 &&
"Cannot create a null constant of that type!");
return 0;
}
}