mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Use different name for argument and field
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91524 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2676f18312
commit
6bc2b8b215
@ -115,7 +115,7 @@ class MDNode : public MetadataBase, public FoldingSetNode {
|
||||
|
||||
protected:
|
||||
explicit MDNode(LLVMContext &C, Value *const *Vals, unsigned NumVals,
|
||||
Function *LocalFunction = NULL);
|
||||
Function *LocalFunc = NULL);
|
||||
public:
|
||||
// Constructors and destructors.
|
||||
static MDNode *get(LLVMContext &Context,
|
||||
|
@ -50,14 +50,14 @@ MDString *MDString::get(LLVMContext &Context, const char *Str) {
|
||||
// MDNode implementation.
|
||||
//
|
||||
MDNode::MDNode(LLVMContext &C, Value *const *Vals, unsigned NumVals,
|
||||
Function *LocalFunction)
|
||||
Function *LocalFunc)
|
||||
: MetadataBase(Type::getMetadataTy(C), Value::MDNodeVal) {
|
||||
NodeSize = NumVals;
|
||||
Node = new ElementVH[NodeSize];
|
||||
ElementVH *Ptr = Node;
|
||||
for (unsigned i = 0; i != NumVals; ++i)
|
||||
*Ptr++ = ElementVH(Vals[i], this);
|
||||
LocalFunction = LocalFunction;
|
||||
LocalFunction = LocalFunc;
|
||||
}
|
||||
|
||||
void MDNode::Profile(FoldingSetNodeID &ID) const {
|
||||
|
Loading…
Reference in New Issue
Block a user