mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Fix a few unused parameter warnings.
llvm-svn: 96533
This commit is contained in:
parent
2f311d34fb
commit
88fe6775de
@ -223,7 +223,7 @@ namespace llvm {
|
||||
void EmitFunctionBody();
|
||||
|
||||
/// EmitInstruction - Targets should implement this to emit instructions.
|
||||
virtual void EmitInstruction(const MachineInstr *MI) {
|
||||
virtual void EmitInstruction(const MachineInstr *) {
|
||||
assert(0 && "EmitInstruction not implemented");
|
||||
}
|
||||
|
||||
|
@ -163,7 +163,7 @@ public:
|
||||
/// an analysis interface through multiple inheritance. If needed, it should
|
||||
/// override this to adjust the this pointer as needed for the specified pass
|
||||
/// info.
|
||||
virtual void *getAdjustedAnalysisPointer(const PassInfo *PI) {
|
||||
virtual void *getAdjustedAnalysisPointer(const PassInfo *) {
|
||||
return this;
|
||||
}
|
||||
virtual ImmutablePass *getAsImmutablePass() { return 0; }
|
||||
|
@ -189,7 +189,7 @@ public:
|
||||
/// is not supported, or false on success.
|
||||
virtual bool addPassesToEmitFile(PassManagerBase &,
|
||||
formatted_raw_ostream &,
|
||||
CodeGenFileType Filetype,
|
||||
CodeGenFileType,
|
||||
CodeGenOpt::Level) {
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user