summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-01 01:48:54 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-01 01:48:54 +0000
commit75c12e156934e8dbb9ea3e433a229070300c4820 (patch)
treef50333f5fb44fe23cebd16748a4411a0e424a533 /llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
parente3f1f350ff39f9ff38b1a7afd38c52469cf8afa0 (diff)
downloadbcm5719-llvm-75c12e156934e8dbb9ea3e433a229070300c4820.tar.gz
bcm5719-llvm-75c12e156934e8dbb9ea3e433a229070300c4820.zip
Remove unused AsmPrinter OptLevel argument, and propogate.
- This more or less amounts to a revert of r65379. I'm curious to know what happened that caused this variable to become unused. llvm-svn: 74579
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/Alpha/AlphaTargetMachine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
index 10952eb096a..060089cbb6d 100644
--- a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
+++ b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
@@ -94,7 +94,7 @@ bool AlphaTargetMachine::addAssemblyEmitter(PassManagerBase &PM,
// Output assembly language.
assert(AsmPrinterCtor && "AsmPrinter was not linked in");
if (AsmPrinterCtor)
- PM.add(AsmPrinterCtor(Out, *this, OptLevel, Verbose));
+ PM.add(AsmPrinterCtor(Out, *this, Verbose));
return false;
}
bool AlphaTargetMachine::addCodeEmitter(PassManagerBase &PM,
@@ -104,7 +104,7 @@ bool AlphaTargetMachine::addCodeEmitter(PassManagerBase &PM,
if (DumpAsm) {
assert(AsmPrinterCtor && "AsmPrinter was not linked in");
if (AsmPrinterCtor)
- PM.add(AsmPrinterCtor(errs(), *this, OptLevel, true));
+ PM.add(AsmPrinterCtor(errs(), *this, true));
}
return false;
}
@@ -115,7 +115,7 @@ bool AlphaTargetMachine::addCodeEmitter(PassManagerBase &PM,
if (DumpAsm) {
assert(AsmPrinterCtor && "AsmPrinter was not linked in");
if (AsmPrinterCtor)
- PM.add(AsmPrinterCtor(errs(), *this, OptLevel, true));
+ PM.add(AsmPrinterCtor(errs(), *this, true));
}
return false;
}
OpenPOWER on IntegriCloud