mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 23:57:48 +00:00
Fix bug in previous checkin
llvm-svn: 10231
This commit is contained in:
parent
f5e8f68ed9
commit
422381c755
@ -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…
Reference in New Issue
Block a user