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 | 8559cf724e8fb6a74ee227709b3a634edb2f46b4 (patch) | |
tree | b278f5110967c3f4f2547bdef689740a9b047d52 /lib/Target/XCore/AsmPrinter | |
parent | dea78355c85f20ad39b4a20586d8c952364ded9a (diff) | |
download | external_llvm-8559cf724e8fb6a74ee227709b3a634edb2f46b4.zip external_llvm-8559cf724e8fb6a74ee227709b3a634edb2f46b4.tar.gz external_llvm-8559cf724e8fb6a74ee227709b3a634edb2f46b4.tar.bz2 |
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')
-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 e9813b6..e2e0b2b 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); |