mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-10 18:37:01 +00:00
add comment to explain my previous commit, as asked by Chris
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62272 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c478e52bf4
commit
6ad2b2a3d2
@ -1671,6 +1671,8 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
|
||||
} else {
|
||||
for (unsigned i = 1, E = I.getNumOperands(); i != E; ++i) {
|
||||
Operand = I.getOperand(i);
|
||||
// note that Operand shouldn't be null, but the test helps make dump()
|
||||
// more tolerant of malformed IR
|
||||
if (Operand && Operand->getType() != TheType) {
|
||||
PrintAllTypes = true; // We have differing types! Print them all!
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user