summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16/PIC16TargetMachine.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/PIC16TargetMachine.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/PIC16TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/PIC16/PIC16TargetMachine.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16TargetMachine.cpp b/llvm/lib/Target/PIC16/PIC16TargetMachine.cpp
index 43047327663..77ad1882ca9 100644
--- a/llvm/lib/Target/PIC16/PIC16TargetMachine.cpp
+++ b/llvm/lib/Target/PIC16/PIC16TargetMachine.cpp
@@ -65,11 +65,11 @@ bool PIC16TargetMachine::addInstSelector(PassManagerBase &PM,
return false;
}
-bool PIC16TargetMachine::
-addAssemblyEmitter(PassManagerBase &PM, CodeGenOpt::Level OptLevel,
- bool Verbose, raw_ostream &Out) {
+bool PIC16TargetMachine::addAssemblyEmitter(PassManagerBase &PM,
+ CodeGenOpt::Level OptLevel,
+ bool Verbose, raw_ostream &Out) {
// Output assembly language.
- PM.add(createPIC16CodePrinterPass(Out, *this, OptLevel, Verbose));
+ PM.add(createPIC16CodePrinterPass(Out, *this, Verbose));
return false;
}
OpenPOWER on IntegriCloud