summaryrefslogtreecommitdiff
path: root/include/llvm/ConstPoolVals.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/ConstPoolVals.h')
-rw-r--r--include/llvm/ConstPoolVals.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/llvm/ConstPoolVals.h b/include/llvm/ConstPoolVals.h
index 68dd0a3acf..235ab12f26 100644
--- a/include/llvm/ConstPoolVals.h
+++ b/include/llvm/ConstPoolVals.h
@@ -217,10 +217,7 @@ protected:
ConstPoolPointer(const PointerType *T);
~ConstPoolPointer() {}
public:
- static ConstPoolPointer *getNullPointer(const PointerType *T) {
- // FIXME: These should all be shared!
- return new ConstPoolPointer(T);
- }
+ static ConstPoolPointer *getNull(const PointerType *T);
virtual string getStrValue() const;
};