mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-23 12:08:25 +00:00
Allow << streaming of MCOperand.
llvm-svn: 116107
This commit is contained in:
parent
9d127e625c
commit
b328f0ab04
@ -155,6 +155,11 @@ public:
|
|||||||
StringRef Separator = " ") const;
|
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) {
|
inline raw_ostream& operator<<(raw_ostream &OS, const MCInst &MI) {
|
||||||
MI.print(OS, 0);
|
MI.print(OS, 0);
|
||||||
return OS;
|
return OS;
|
||||||
|
Loading…
Reference in New Issue
Block a user