aboutsummaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/ConstPoolVals.h14
-rw-r--r--include/llvm/Module.h10
2 files changed, 12 insertions, 12 deletions
diff --git a/include/llvm/ConstPoolVals.h b/include/llvm/ConstPoolVals.h
index 9a55b42421..3142bbbe9c 100644
--- a/include/llvm/ConstPoolVals.h
+++ b/include/llvm/ConstPoolVals.h
@@ -304,20 +304,20 @@ public:
};
-// ConstPoolPointerReference - a constant pointer value that is initialized to
+// ConstPoolPointerRef - a constant pointer value that is initialized to
// point to a global value, which lies at a constant, fixed address.
//
-class ConstPoolPointerReference : public ConstPoolPointer {
+class ConstPoolPointerRef : public ConstPoolPointer {
friend class Module; // Modules maintain these references
- ConstPoolPointerReference(const ConstPoolPointerReference &); // DNI!
+ ConstPoolPointerRef(const ConstPoolPointerRef &); // DNI!
protected:
- ConstPoolPointerReference(GlobalValue *GV);
- ~ConstPoolPointerReference() {}
+ ConstPoolPointerRef(GlobalValue *GV);
+ ~ConstPoolPointerRef() {}
virtual void destroyConstant() { destroyConstantImpl(); }
public:
- static ConstPoolPointerReference *get(GlobalValue *GV);
+ static ConstPoolPointerRef *get(GlobalValue *GV);
virtual string getStrValue() const;
@@ -329,7 +329,7 @@ public:
}
// Methods for support type inquiry through isa, cast, and dyn_cast:
- static inline bool classof(const ConstPoolPointerReference *) { return true; }
+ static inline bool classof(const ConstPoolPointerRef *) { return true; }
static inline bool classof(const ConstPoolPointer *CPV) {
return CPV->getNumOperands() == 1;
}
diff --git a/include/llvm/Module.h b/include/llvm/Module.h
index abb91e0f01..60032474ca 100644
--- a/include/llvm/Module.h
+++ b/include/llvm/Module.h
@@ -18,7 +18,7 @@
class Method;
class GlobalVariable;
class GlobalValueRefMap; // Used by ConstPoolVals.cpp
-class ConstPoolPointerReference;
+class ConstPoolPointerRef;
class Module : public Value, public SymTabValue {
public:
@@ -44,10 +44,10 @@ private:
GlobalValueRefMap *GVRefMap;
// Accessor for the underlying GlobalValRefMap... only through the
- // ConstPoolPointerReference class...
- friend class ConstPoolPointerReference;
- void mutateConstPoolPointerReference(GlobalValue *OldGV, GlobalValue *NewGV);
- ConstPoolPointerReference *getConstPoolPointerReference(GlobalValue *GV);
+ // ConstPoolPointerRef class...
+ friend class ConstPoolPointerRef;
+ void mutateConstPoolPointerRef(GlobalValue *OldGV, GlobalValue *NewGV);
+ ConstPoolPointerRef *getConstPoolPointerRef(GlobalValue *GV);
public:
Module();