diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-05-06 22:52:30 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-05-06 22:52:30 +0000 |
commit | b04adddd50dfa4c3fbdad3b15d601402254c1ff5 (patch) | |
tree | 6f53052db2b8e151c76c8138252208af4e6dd6e5 /include/llvm/IntrinsicInst.h | |
parent | f092b64a49023b4fa501da8e169d7c804ffa5614 (diff) | |
download | llvm-b04adddd50dfa4c3fbdad3b15d601402254c1ff5.tar.gz llvm-b04adddd50dfa4c3fbdad3b15d601402254c1ff5.tar.bz2 llvm-b04adddd50dfa4c3fbdad3b15d601402254c1ff5.tar.xz |
Make StripPointerCast a common function (should we mak it method of Value instead?)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50775 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IntrinsicInst.h')
-rw-r--r-- | include/llvm/IntrinsicInst.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/IntrinsicInst.h b/include/llvm/IntrinsicInst.h index d3a53168f1..494eaaec4d 100644 --- a/include/llvm/IntrinsicInst.h +++ b/include/llvm/IntrinsicInst.h @@ -38,12 +38,6 @@ namespace llvm { IntrinsicInst(const IntrinsicInst&); // DO NOT IMPLEMENT void operator=(const IntrinsicInst&); // DO NOT IMPLEMENT public: - - /// StripPointerCasts - This static method strips off any unneeded pointer - /// casts from the specified value, returning the original uncasted value. - /// Note that the returned value is guaranteed to have pointer type. - static Value *StripPointerCasts(Value *Ptr); - /// getIntrinsicID - Return the intrinsic ID of this intrinsic. /// Intrinsic::ID getIntrinsicID() const { |