mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-02 02:22:31 +00:00
Fix typeo that caused bug:
test/Regression/Assembler/2002-07-25-ReturnPtrFunction.llx git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3103 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
eb6fb84f45
commit
c1b2718acf
@ -750,7 +750,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
|
|||||||
//
|
//
|
||||||
if (RetTy && MTy && !MTy->isVarArg() &&
|
if (RetTy && MTy && !MTy->isVarArg() &&
|
||||||
(!isa<PointerType>(RetTy) ||
|
(!isa<PointerType>(RetTy) ||
|
||||||
!isa<FunctionType>(cast<PointerType>(RetTy)))) {
|
!isa<FunctionType>(cast<PointerType>(RetTy)->getElementType()))) {
|
||||||
Out << " "; printType(RetTy);
|
Out << " "; printType(RetTy);
|
||||||
writeOperand(Operand, false);
|
writeOperand(Operand, false);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user