forked from OSchip/llvm-project
parent
eb4e3dce9b
commit
c2f81007c0
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue