projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove DebugLoc from MCInst and eliminate "Comment printing" from
[oota-llvm.git]
/
lib
/
Target
/
PIC16
/
AsmPrinter
/
PIC16AsmPrinter.cpp
diff --git
a/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
b/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
index 5c33bed035f6173cd608fa1281eadffc939908f6..f9b8044c4a013a612e48566259ffb3dde3001ba0 100644
(file)
--- a/
lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
+++ b/
lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
@@
-42,7
+42,13
@@
PIC16AsmPrinter::PIC16AsmPrinter(formatted_raw_ostream &O, TargetMachine &TM,
}
bool PIC16AsmPrinter::printMachineInstruction(const MachineInstr *MI) {
+ processDebugLoc(MI->getDebugLoc());
+
printInstruction(MI);
+
+ if (VerboseAsm && !MI->getDebugLoc().isUnknown())
+ EmitComments(*MI);
+ O << '\n';
return true;
}