summaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AsmPrinter
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
commit1e459c446786f46ed865183f1c6adb17e2e8fcea (patch)
tree47fb17533ebc7944aff46dca1f7b39cfcfbb9313 /lib/Target/Alpha/AsmPrinter
parentb84822fb7b64977c16e97b870891da1d6c9736fe (diff)
downloadllvm-1e459c446786f46ed865183f1c6adb17e2e8fcea.tar.gz
llvm-1e459c446786f46ed865183f1c6adb17e2e8fcea.tar.bz2
llvm-1e459c446786f46ed865183f1c6adb17e2e8fcea.tar.xz
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! :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AsmPrinter')
-rw-r--r--lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp b/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp
index 1606c54e1c..c22ff75fe7 100644
--- a/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp
+++ b/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp
@@ -124,8 +124,6 @@ void AlphaAsmPrinter::printOp(const MachineOperand &MO, bool IsCallOp) {
/// method to print assembly for each instruction.
///
bool AlphaAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
- this->MF = &MF;
-
SetupMachineFunction(MF);
O << "\n\n";