Warnings patrol.

llvm-svn: 109174
This commit is contained in:
Eric Christopher 2010-07-22 21:51:30 +00:00
parent eb4e3dce9b
commit c2f81007c0
2 changed files with 6 additions and 6 deletions

View File

@ -71,8 +71,8 @@ template<> struct ilist_traits<NamedMDNode>
NamedMDNode *provideInitialHead() const { return createSentinel(); }
NamedMDNode *ensureHead(NamedMDNode*) const { return createSentinel(); }
static void noteHead(NamedMDNode*, NamedMDNode*) {}
void addNodeToList(NamedMDNode *N) {}
void removeNodeFromList(NamedMDNode *N) {}
void addNodeToList(NamedMDNode *) {}
void removeNodeFromList(NamedMDNode *) {}
private:
mutable ilist_node<NamedMDNode> Sentinel;
};

View File

@ -250,10 +250,10 @@ public:
/// code is not supported. It fills the MCContext Ctx pointer which can be
/// used to build custom MCStreamer.
///
virtual bool addPassesToEmitMC(PassManagerBase &PM,
MCContext *&Ctx,
CodeGenOpt::Level OptLevel,
bool DisableVerify = true) {
virtual bool addPassesToEmitMC(PassManagerBase &,
MCContext *&,
CodeGenOpt::Level,
bool = true) {
return true;
}
};