diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-15 13:21:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-15 13:21:42 +0000 |
commit | c18545dc9e5c8d98ea9089af8702a6cf563a8dfd (patch) | |
tree | 799d3124a0cdcfd27ed675e07adba38c3940fa68 /include/llvm | |
parent | 2a72820b43b94a4da0d51c1533b22ded37fc5c86 (diff) |
Rename ConstPoolPointerReference to ConstPoolPointerRef - My fingers get tired typing that much
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@822 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/ConstPoolVals.h | 14 | ||||
-rw-r--r-- | include/llvm/Module.h | 10 |
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(); |