fix % repeat

This commit is contained in:
rain2133
2025-06-25 12:27:02 +08:00
parent 4fabcc9952
commit e6c4e91956

View File

@@ -438,7 +438,6 @@ void SysYPrinter::printInst(Instruction *pInst) {
case Kind::kPhi: {
auto phiInst = dynamic_cast<PhiInst *>(pInst);
std::cout << "%";
printValue(phiInst->getOperand(0));
std::cout << " = phi ";
printType(phiInst->getType());