summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-26 04:38:11 +0000
committerChris Lattner <sabre@nondot.org>2010-01-26 04:38:11 +0000
commit170442fa1288c71c4b41a196b36ee53a6e4bf878 (patch)
tree5d78ceb1615ecaaef7c602de03e319f4b6b7e415 /llvm/lib/Target/PIC16
parent6715952c2556cdd5ed8c5a0595e4bbae4560d17d (diff)
downloadbcm5719-llvm-170442fa1288c71c4b41a196b36ee53a6e4bf878.tar.gz
bcm5719-llvm-170442fa1288c71c4b41a196b36ee53a6e4bf878.zip
don't bother setting the AsmPrinter::MF ivar, now that
AsmPrinter::SetupMachineFunction sets it. Note that systemz and msp430 didn't. Yay for reduced inconsistency! :) llvm-svn: 94510
Diffstat (limited to 'llvm/lib/Target/PIC16')
-rw-r--r--llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp b/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
index 0463596b820..f20c8044077 100644
--- a/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
+++ b/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
@@ -96,8 +96,6 @@ void PIC16AsmPrinter::ColorAutoSection(const Function *F) {
/// directive and file begin debug directive (if required) for the function.
///
bool PIC16AsmPrinter::runOnMachineFunction(MachineFunction &MF) {
- this->MF = &MF;
-
// This calls the base class function required to be called at beginning
// of runOnMachineFunction.
SetupMachineFunction(MF);
OpenPOWER on IntegriCloud