From db8b08131fc81f4d18621d8a16626072340b3be2 Mon Sep 17 00:00:00 2001 From: Nipunn Koorapati Date: Fri, 20 Apr 2012 12:17:09 -0400 Subject: [PATCH] Fixed compile error which shows up on LLVM 3.0 --- cbackend.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cbackend.cpp b/cbackend.cpp index 7adefb40..0522fd85 100644 --- a/cbackend.cpp +++ b/cbackend.cpp @@ -1495,8 +1495,9 @@ void CWriter::printConstant(Constant *CPV, bool Static) { printConstantDataSequential(CDV, Static); Out << ")"; } + } #endif - } else { + else { assert(isa(CPV)); Constant *CZ = Constant::getNullValue(VT->getElementType()); printType(Out, CPV->getType());