writeOperand(I.getOperand(op+1), false); Out << " ]";
}
} else if (const GetResultInst *GRI = dyn_cast<GetResultInst>(&I)) {
- const StructType *STy = cast<StructType>(I.getOperand(0)->getType());
- unsigned NumElems = STy->getNumElements();
- Out << " {";
- for (unsigned i = 0; i < NumElems; ++i) {
- if (i)
- Out << ",";
- Out << " ";
- printType(STy->getElementType(i));
- }
- Out << " }";
- writeOperand(I.getOperand(0), false);
+ writeOperand(I.getOperand(0), true);
Out << ", " << GRI->getIndex();
} else if (isa<ReturnInst>(I) && !Operand) {
Out << " void";