mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74579 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -38,9 +38,8 @@ namespace {
|
||||
///
|
||||
|
||||
explicit AlphaAsmPrinter(raw_ostream &o, TargetMachine &tm,
|
||||
const TargetAsmInfo *T, CodeGenOpt::Level OL,
|
||||
bool V)
|
||||
: AsmPrinter(o, tm, T, OL, V) {}
|
||||
const TargetAsmInfo *T, bool V)
|
||||
: AsmPrinter(o, tm, T, V) {}
|
||||
|
||||
virtual const char *getPassName() const {
|
||||
return "Alpha Assembly Printer";
|
||||
@@ -70,9 +69,8 @@ namespace {
|
||||
///
|
||||
FunctionPass *llvm::createAlphaCodePrinterPass(raw_ostream &o,
|
||||
TargetMachine &tm,
|
||||
CodeGenOpt::Level OptLevel,
|
||||
bool verbose) {
|
||||
return new AlphaAsmPrinter(o, tm, tm.getTargetAsmInfo(), OptLevel, verbose);
|
||||
return new AlphaAsmPrinter(o, tm, tm.getTargetAsmInfo(), verbose);
|
||||
}
|
||||
|
||||
#include "AlphaGenAsmWriter.inc"
|
||||
|
Reference in New Issue
Block a user