forked from OSchip/llvm-project
Fix typeo that caused bug:
test/Regression/Assembler/2002-07-25-ReturnPtrFunction.llx llvm-svn: 3103
This commit is contained in:
parent
6fe2906627
commit
d9a36a63bb
|
@ -750,7 +750,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
|
|||
//
|
||||
if (RetTy && MTy && !MTy->isVarArg() &&
|
||||
(!isa<PointerType>(RetTy) ||
|
||||
!isa<FunctionType>(cast<PointerType>(RetTy)))) {
|
||||
!isa<FunctionType>(cast<PointerType>(RetTy)->getElementType()))) {
|
||||
Out << " "; printType(RetTy);
|
||||
writeOperand(Operand, false);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue