mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-04 02:18:46 +00:00
Fix typeo that caused bug:
test/Regression/Assembler/2002-07-25-ReturnPtrFunction.llx llvm-svn: 3103
This commit is contained in:
parent
5dcc9d93a3
commit
32f5f52f92
@ -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…
x
Reference in New Issue
Block a user