public:
ValueTy second;
- explicit StringMapEntry(unsigned StrLen)
- : StringMapEntryBase(StrLen), second() {}
- StringMapEntry(unsigned StrLen, const ValueTy &V)
- : StringMapEntryBase(StrLen), second(V) {}
+ explicit StringMapEntry(unsigned strLen)
+ : StringMapEntryBase(strLen), second() {}
+ StringMapEntry(unsigned strLen, const ValueTy &V)
+ : StringMapEntryBase(strLen), second(V) {}
const ValueTy &getValue() const { return second; }
ValueTy &getValue() { return second; }
unsigned Alignment;
public:
- MemSDNode(unsigned Opc, SDVTList VTs, const Value *SrcValue,
- unsigned Alignment)
- : SDNode(Opc, VTs), SrcValue(SrcValue), Alignment(Alignment) {}
+ MemSDNode(unsigned Opc, SDVTList VTs, const Value *srcValue,
+ unsigned alignment)
+ : SDNode(Opc, VTs), SrcValue(srcValue), Alignment(alignment) {}
virtual ~MemSDNode() {}
void Reset() {}
- void *Allocate(size_t Size, size_t Alignment) { return malloc(Size); }
+ void *Allocate(size_t Size, size_t /*Alignment*/) { return malloc(Size); }
template <typename T>
T *Allocate() { return static_cast<T*>(malloc(sizeof(T))); }
return static_cast<T*>(Allocate(sizeof(T),AlignOf<T>::Alignment));
}
- void Deallocate(void *Ptr) {}
+ void Deallocate(void */*Ptr*/) {}
void PrintStats() const;
};