mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Fix getMDs() interface such that it does not expose implementation details.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84885 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -254,7 +254,7 @@ public:
|
||||
MDNode *getMD(unsigned Kind, const Instruction *Inst);
|
||||
|
||||
/// getMDs - Get the metadata attached to an Instruction.
|
||||
const MDMapTy *getMDs(const Instruction *Inst);
|
||||
void getMDs(const Instruction *Inst, SmallVectorImpl<MDPairTy> &MDs) const;
|
||||
|
||||
/// addMD - Attach the metadata of given kind to an Instruction.
|
||||
void addMD(unsigned Kind, MDNode *Node, Instruction *Inst);
|
||||
|
Reference in New Issue
Block a user