mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-03 14:31:10 +00:00
Fixed bug in Regression/CBackend/2002-10-30-FunctionPointerAlloca.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4486 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4f53bef7cd
commit
7e9fea736d
@ -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(),
|
||||
|
@ -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…
x
Reference in New Issue
Block a user