rename MDNode instance variables to something meaningful.
[oota-llvm.git] / include / llvm / Metadata.h
index 28f9356ba9fde7f0d71e490a7b5d8e5fe5f9e63b..63601d2d25f1c74b9efee42822632a2ea48ca9bd 100644 (file)
@@ -99,8 +99,8 @@ class MDNode : public MetadataBase, public FoldingSetNode {
   // Replace each instance of F from the element list of this node with T.
   void replaceElement(Value *F, Value *T);
 
-  MDNodeElement *Node;
-  unsigned NodeSize;
+  MDNodeElement *Operands;
+  unsigned NumOperands;
 
 protected:
   explicit MDNode(LLVMContext &C, Value *const *Vals, unsigned NumVals,
@@ -117,7 +117,7 @@ public:
   Value *getElement(unsigned i) const;
   
   /// getNumElements - Return number of MDNode elements.
-  unsigned getNumElements() const { return NodeSize; }
+  unsigned getNumElements() const { return NumOperands; }
   
   /// isFunctionLocal - Return whether MDNode is local to a function.
   /// Note: MDNodes are designated as function-local when created, and keep