From b04adddd50dfa4c3fbdad3b15d601402254c1ff5 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Tue, 6 May 2008 22:52:30 +0000 Subject: 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 --- include/llvm/IntrinsicInst.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/llvm/IntrinsicInst.h') 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 { -- cgit v1.2.3