From: Matt Arsenault Date: Tue, 31 Jan 2017 23:57:20 +0000 (+0000) Subject: InferAddressSpaces: Remove dead declaration X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=adb43778a77c0e07227d551809fe2c2314ac921e;p=llvm InferAddressSpaces: Remove dead declaration git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293720 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/InferAddressSpaces.cpp b/lib/Transforms/Scalar/InferAddressSpaces.cpp index 9f03e03892e..d3baeea2433 100644 --- a/lib/Transforms/Scalar/InferAddressSpaces.cpp +++ b/lib/Transforms/Scalar/InferAddressSpaces.cpp @@ -141,7 +141,6 @@ private: void inferAddressSpaces(const std::vector &Postorder, ValueToAddrSpaceMapTy *InferredAddrSpace) const; - bool handleComplexPtrUse(User &U, Value *OldV, Value *NewV) const; bool isSafeToCastConstAddrSpace(Constant *C, unsigned NewAS) const; // Changes the flat address expressions in function F to point to specific