mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
Add addElement().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77645 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ee42fd309e
commit
f1da1f5f97
@ -212,6 +212,11 @@ public:
|
|||||||
return Node.size();
|
return Node.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// addElement - Add metadata element.
|
||||||
|
void addElement(MetadataBase *M) {
|
||||||
|
Node.push_back(WeakMetadataVH(M));
|
||||||
|
}
|
||||||
|
|
||||||
bool elem_empty() const {
|
bool elem_empty() const {
|
||||||
return Node.empty();
|
return Node.empty();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user