OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e25e1c
)
#include <iostream> since its not in Value.h any more.
author
Reid Spencer
<rspencer@reidspencer.com>
Sun, 4 Jul 2004 11:51:24 +0000
(11:51 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Sun, 4 Jul 2004 11:51:24 +0000
(11:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14614
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Constants.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Constants.cpp
b/lib/VMCore/Constants.cpp
index
9957327
..
c8e5960
100644
(file)
--- a/
lib/VMCore/Constants.cpp
+++ b/
lib/VMCore/Constants.cpp
@@
-19,6
+19,7
@@
#include "llvm/Module.h"
#include "Support/StringExtras.h"
#include <algorithm>
+#include <iostream>
using namespace llvm;
ConstantBool *ConstantBool::True = new ConstantBool(true);
@@
-120,8
+121,8
@@
Constant *Constant::getNullValue(const Type *Ty) {
case Type::ArrayTyID:
return ConstantAggregateZero::get(Ty);
default:
- // Function,
Type,
Label, or Opaque type?
- assert(
0 &&
"Cannot create a null constant of that type!");
+ // Function, Label, or Opaque type?
+ assert(
!
"Cannot create a null constant of that type!");
return 0;
}
}