mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
Fix bug: test/Regression/CBackend/2002-08-26-IndirectCallTest.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3511 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aa250b8067
commit
fabc8803a3
@ -778,7 +778,8 @@ void CWriter::visitCallInst(CallInst &I) {
|
||||
const FunctionType *FTy = cast<FunctionType>(PTy->getElementType());
|
||||
const Type *RetTy = FTy->getReturnType();
|
||||
|
||||
Out << getValueName(I.getOperand(0)) << "(";
|
||||
writeOperand(I.getOperand(0));
|
||||
Out << "(";
|
||||
|
||||
if (I.getNumOperands() > 1) {
|
||||
writeOperand(I.getOperand(1));
|
||||
|
@ -778,7 +778,8 @@ void CWriter::visitCallInst(CallInst &I) {
|
||||
const FunctionType *FTy = cast<FunctionType>(PTy->getElementType());
|
||||
const Type *RetTy = FTy->getReturnType();
|
||||
|
||||
Out << getValueName(I.getOperand(0)) << "(";
|
||||
writeOperand(I.getOperand(0));
|
||||
Out << "(";
|
||||
|
||||
if (I.getNumOperands() > 1) {
|
||||
writeOperand(I.getOperand(1));
|
||||
|
Loading…
x
Reference in New Issue
Block a user