mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
Remove extra comma in debug output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156219 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
03ba93e194
commit
41afb9da2c
@ -264,7 +264,7 @@ void MachineOperand::print(raw_ostream &OS, const TargetMachine *TM) const {
|
|||||||
NeedComma = true;
|
NeedComma = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isKill() || isDead() || isUndef() || isInternalRead()) {
|
if (isKill() || isDead() || (isUndef() && isUse()) || isInternalRead()) {
|
||||||
if (NeedComma) OS << ',';
|
if (NeedComma) OS << ',';
|
||||||
NeedComma = false;
|
NeedComma = false;
|
||||||
if (isKill()) {
|
if (isKill()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user