mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Remove some dead argument names which irritates GCC at certain warning levels.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23979 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
304a564c1f
commit
70cfe13f19
@ -139,7 +139,7 @@ public:
|
||||
void print(std::ostream &OS, AssemblyAnnotationWriter *AAW) const;
|
||||
|
||||
/// Methods for support type inquiry through isa, cast, and dyn_cast:
|
||||
static inline bool classof(const BasicBlock *BB) { return true; }
|
||||
static inline bool classof(const BasicBlock *) { return true; }
|
||||
static inline bool classof(const Value *V) {
|
||||
return V->getValueType() == Value::BasicBlockVal;
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ public:
|
||||
/// use Value::replaceAllUsesWith, which automatically dispatches to this
|
||||
/// method as needed.
|
||||
///
|
||||
virtual void replaceUsesOfWithOnConstant(Value *From, Value *To, Use *U) {
|
||||
virtual void replaceUsesOfWithOnConstant(Value *, Value *, Use *) {
|
||||
// Provide a default implementation for constants (like integers) that
|
||||
// cannot use any other values. This cannot be called at runtime, but needs
|
||||
// to be here to avoid link errors.
|
||||
|
@ -101,7 +101,7 @@ public:
|
||||
void removeDeadConstantUsers();
|
||||
|
||||
// Methods for support type inquiry through isa, cast, and dyn_cast:
|
||||
static inline bool classof(const GlobalValue *T) { return true; }
|
||||
static inline bool classof(const GlobalValue *) { return true; }
|
||||
static inline bool classof(const Value *V) {
|
||||
return V->getValueType() == Value::FunctionVal ||
|
||||
V->getValueType() == Value::GlobalVariableVal;
|
||||
|
@ -157,7 +157,7 @@ public:
|
||||
void print(std::ostream &OS, AssemblyAnnotationWriter *AAW) const;
|
||||
|
||||
/// Methods for support type inquiry through isa, cast, and dyn_cast:
|
||||
static inline bool classof(const Instruction *I) { return true; }
|
||||
static inline bool classof(const Instruction *) { return true; }
|
||||
static inline bool classof(const Value *V) {
|
||||
return V->getValueType() >= Value::InstructionVal;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user