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 | 3eb5dc17a0715f7c67caca590c8349f5599ff657 (patch) | |
| tree | eab9a08977fe100cd87322eb68bfcf46309c7db1 /lib/Target/XCore | |
| parent | 1b1374990c3d5eb60910b0b7a937e87ee68d77d6 (diff) | |
| download | external_llvm-3eb5dc17a0715f7c67caca590c8349f5599ff657.zip external_llvm-3eb5dc17a0715f7c67caca590c8349f5599ff657.tar.gz external_llvm-3eb5dc17a0715f7c67caca590c8349f5599ff657.tar.bz2 | |
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 'lib/Target/XCore')
| -rw-r--r-- | lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp b/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp index 21b6575..634013f 100644 --- a/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp +++ b/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp @@ -70,7 +70,8 @@ namespace { } void printOperand(const MachineInstr *MI, int opNum, raw_ostream &O); bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, - unsigned AsmVariant, const char *ExtraCode); + unsigned AsmVariant, const char *ExtraCode, + raw_ostream &O); void emitGlobalDirective(const MCSymbol *Sym); @@ -318,8 +319,8 @@ void XCoreAsmPrinter::printOperand(const MachineInstr *MI, int opNum, /// PrintAsmOperand - Print out an operand for an inline asm expression. /// bool XCoreAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, - unsigned AsmVariant, - const char *ExtraCode) { + unsigned AsmVariant,const char *ExtraCode, + raw_ostream &O) { printOperand(MI, OpNo, O); return false; } |
