Fixed compile error which shows up on LLVM 3.0

This commit is contained in:
Nipunn Koorapati
2012-04-20 12:17:09 -04:00
parent 32815e628d
commit db8b08131f

View File

@@ -1495,8 +1495,9 @@ void CWriter::printConstant(Constant *CPV, bool Static) {
printConstantDataSequential(CDV, Static);
Out << ")";
}
}
#endif
} else {
else {
assert(isa<UndefValue>(CPV));
Constant *CZ = Constant::getNullValue(VT->getElementType());
printType(Out, CPV->getType());