Merge pull request #247 from nipunn1313/master

Fixed compiler warning
This commit is contained in:
Matt Pharr
2012-04-20 09:26:57 -07:00

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());