forked from OSchip/llvm-project
Fixed bug in Regression/CBackend/2002-10-30-FunctionPointerAlloca.ll
llvm-svn: 4486
This commit is contained in:
parent
8a1854fc47
commit
5c5e78482e
|
@ -208,7 +208,7 @@ ostream &CWriter::printType(const Type *Ty, const string &NameSoFar,
|
|||
case Type::FunctionTyID: {
|
||||
const FunctionType *MTy = cast<FunctionType>(Ty);
|
||||
printType(MTy->getReturnType(), "");
|
||||
Out << " " << NameSoFar << " (";
|
||||
Out << " (" << NameSoFar << ") (";
|
||||
|
||||
for (FunctionType::ParamTypes::const_iterator
|
||||
I = MTy->getParamTypes().begin(),
|
||||
|
|
Loading…
Reference in New Issue