diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-28 01:02:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-28 01:02:27 +0000 |
commit | d7dede2bdd47620b6f8ac8e3f72d454bac8c1005 (patch) | |
tree | a8ed93037a7e6aaf38c701f3af60e8f86f81c30b /lib/Target/MSP430 | |
parent | 8559cf724e8fb6a74ee227709b3a634edb2f46b4 (diff) | |
download | external_llvm-d7dede2bdd47620b6f8ac8e3f72d454bac8c1005.zip external_llvm-d7dede2bdd47620b6f8ac8e3f72d454bac8c1005.tar.gz external_llvm-d7dede2bdd47620b6f8ac8e3f72d454bac8c1005.tar.bz2 |
Remove the argument from EmitJumpTableInfo, because it doesn't need it.
Move the X86 implementation of function body emission up to
AsmPrinter::EmitFunctionBody, which works by calling the virtual
EmitInstruction method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94716 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430')
-rw-r--r-- | lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp index 3064f77..95f2039 100644 --- a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp +++ b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp @@ -110,7 +110,7 @@ bool MSP430AsmPrinter::runOnMachineFunction(MachineFunction &MF) { O << "\t.size\t" << *CurrentFnSym << ", .-" << *CurrentFnSym << '\n'; // Print out constants referenced by the function - EmitJumpTableInfo(MF); + EmitJumpTableInfo(); // We didn't modify anything return false; |