diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-04 05:29:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-04 05:29:35 +0000 |
commit | c75c028a15a13786eee585aa634b4faf694dd00a (patch) | |
tree | eab9a08977fe100cd87322eb68bfcf46309c7db1 /include/llvm/CodeGen/AsmPrinter.h | |
parent | e812d4c604ce6b6b019f7e51a694ca7e158f5139 (diff) | |
download | llvm-c75c028a15a13786eee585aa634b4faf694dd00a.tar.gz llvm-c75c028a15a13786eee585aa634b4faf694dd00a.tar.bz2 llvm-c75c028a15a13786eee585aa634b4faf694dd00a.tar.xz |
fix PrintAsmOperand and PrintAsmMemoryOperand to pass down
raw_ostream to print to.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/AsmPrinter.h')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index bcefeff419..415871ce27 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -70,9 +70,8 @@ namespace llvm { /// function. /// MachineLoopInfo *LI; - public: - /// MMI - If available, this is a pointer to the current MachineModuleInfo. + /// MMI - This is a pointer to the current MachineModuleInfo. MachineModuleInfo *MMI; protected: @@ -189,7 +188,8 @@ namespace llvm { /// override this to format as appropriate. This method can return true if /// the operand is erroneous. virtual bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, - unsigned AsmVariant, const char *ExtraCode); + unsigned AsmVariant, const char *ExtraCode, + raw_ostream &OS); /// PrintAsmMemoryOperand - Print the specified operand of MI, an INLINEASM /// instruction, using the specified assembler variant as an address. @@ -197,7 +197,8 @@ namespace llvm { /// return true if the operand is erroneous. virtual bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo, unsigned AsmVariant, - const char *ExtraCode); + const char *ExtraCode, + raw_ostream &OS); /// runOnMachineFunction - Emit the specified function out to the /// OutStreamer. |