summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16/PIC16AsmPrinter.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/PIC16/PIC16AsmPrinter.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/PIC16/PIC16AsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp b/llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp
index ca1089b6df0..1fc1cc186aa 100644
--- a/llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp
+++ b/llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp
@@ -113,9 +113,8 @@ bool PIC16AsmPrinter::runOnMachineFunction(MachineFunction &MF) {
///
FunctionPass *llvm::createPIC16CodePrinterPass(raw_ostream &o,
PIC16TargetMachine &tm,
- CodeGenOpt::Level OptLevel,
bool verbose) {
- return new PIC16AsmPrinter(o, tm, tm.getTargetAsmInfo(), OptLevel, verbose);
+ return new PIC16AsmPrinter(o, tm, tm.getTargetAsmInfo(), verbose);
}
OpenPOWER on IntegriCloud