diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index 4473af1ee6c..251b9f98c04 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp @@ -913,7 +913,7 @@ void CWriter::printConstant(Constant *CPV) { << *CE << "\n"; abort(); } - } else if (isa(CPV) && CPV->getType()->isFirstClassType()) { + } else if (isa(CPV) && CPV->getType()->isSingleValueType()) { Out << "(("; printType(Out, CPV->getType()); // sign doesn't matter Out << ")/*UNDEF*/";