diff options
-rw-r--r-- | include/llvm/MC/MCInst.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/MC/MCInst.h b/include/llvm/MC/MCInst.h index dd19f9b18d..2b337e3624 100644 --- a/include/llvm/MC/MCInst.h +++ b/include/llvm/MC/MCInst.h @@ -155,6 +155,11 @@ public: StringRef Separator = " ") const; }; +inline raw_ostream& operator<<(raw_ostream &OS, const MCOperand &MO) { + MO.print(OS, 0); + return OS; +} + inline raw_ostream& operator<<(raw_ostream &OS, const MCInst &MI) { MI.print(OS, 0); return OS; |