fix % repeat
This commit is contained in:
@@ -438,7 +438,6 @@ void SysYPrinter::printInst(Instruction *pInst) {
|
|||||||
|
|
||||||
case Kind::kPhi: {
|
case Kind::kPhi: {
|
||||||
auto phiInst = dynamic_cast<PhiInst *>(pInst);
|
auto phiInst = dynamic_cast<PhiInst *>(pInst);
|
||||||
std::cout << "%";
|
|
||||||
printValue(phiInst->getOperand(0));
|
printValue(phiInst->getOperand(0));
|
||||||
std::cout << " = phi ";
|
std::cout << " = phi ";
|
||||||
printType(phiInst->getType());
|
printType(phiInst->getType());
|
||||||
|
|||||||
Reference in New Issue
Block a user