summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
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/Mips/AsmPrinter/MipsAsmPrinter.cpp
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/Mips/AsmPrinter/MipsAsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp b/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
index fd0ab2d99b5..d96e207101f 100644
--- a/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
+++ b/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
@@ -248,8 +248,6 @@ void MipsAsmPrinter::emitFunctionEnd(MachineFunction &MF) {
/// runOnMachineFunction - This uses the printMachineInstruction()
/// method to print assembly for each instruction.
bool MipsAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
- this->MF = &MF;
-
SetupMachineFunction(MF);
// Print out constants referenced by the function
OpenPOWER on IntegriCloud