mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
Fix bug in previous checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10231 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
009900b512
commit
bc771c5608
@ -1380,7 +1380,7 @@ void CWriter::printIndexingExpression(Value *Ptr, gep_type_iterator I,
|
||||
// Print out the -> operator if possible...
|
||||
if (TmpI != E && isa<StructType>(*TmpI)) {
|
||||
Out << (HasImplicitAddress ? "." : "->");
|
||||
Out << "field" << cast<ConstantUInt>(I.getOperand())->getValue();
|
||||
Out << "field" << cast<ConstantUInt>(TmpI.getOperand())->getValue();
|
||||
I = ++TmpI;
|
||||
}
|
||||
}
|
||||
|
@ -1380,7 +1380,7 @@ void CWriter::printIndexingExpression(Value *Ptr, gep_type_iterator I,
|
||||
// Print out the -> operator if possible...
|
||||
if (TmpI != E && isa<StructType>(*TmpI)) {
|
||||
Out << (HasImplicitAddress ? "." : "->");
|
||||
Out << "field" << cast<ConstantUInt>(I.getOperand())->getValue();
|
||||
Out << "field" << cast<ConstantUInt>(TmpI.getOperand())->getValue();
|
||||
I = ++TmpI;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user