From c18545dc9e5c8d98ea9089af8702a6cf563a8dfd Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 15 Oct 2001 13:21:42 +0000 Subject: 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 --- include/llvm/ConstPoolVals.h | 14 +++++++------- include/llvm/Module.h | 10 +++++----- 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'include') 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(); -- cgit v1.2.3-70-g09d2