diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-28 00:19:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-28 00:19:24 +0000 |
commit | a2406190ca28dc5901dfe747849c8eda9c29d7ee (patch) | |
tree | b278f5110967c3f4f2547bdef689740a9b047d52 /lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp | |
parent | 80c062001efbf1d3946d5cc4fcea7ad2d876ba64 (diff) |
Drop the argument to AsmPrinter::EmitConstantPool and make it virtual.
Overload it in the ARM backend to do nothing, since is does insane
constant pool emission.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94708 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp')
-rw-r--r-- | lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp b/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp index e9813b6f02..e2e0b2befc 100644 --- a/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp +++ b/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp @@ -233,7 +233,7 @@ bool XCoreAsmPrinter::runOnMachineFunction(MachineFunction &MF) { SetupMachineFunction(MF); // Print out constants referenced by the function - EmitConstantPool(MF.getConstantPool()); + EmitConstantPool(); // Emit the function start directives emitFunctionStart(MF); |