From 41968df51e11f581eb19c8f68a8cb2f4e8acc1c5 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Wed, 25 Apr 2007 17:15:20 +0000 Subject: Remove unused function argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36441 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Utils/PromoteMemToReg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm') diff --git a/include/llvm/Transforms/Utils/PromoteMemToReg.h b/include/llvm/Transforms/Utils/PromoteMemToReg.h index a17e98c..e2ad4cd 100644 --- a/include/llvm/Transforms/Utils/PromoteMemToReg.h +++ b/include/llvm/Transforms/Utils/PromoteMemToReg.h @@ -28,7 +28,7 @@ class AliasSetTracker; /// isAllocaPromotable - Return true if this alloca is legal for promotion. /// This is true if there are only loads and stores to the alloca... /// -bool isAllocaPromotable(const AllocaInst *AI, const TargetData &TD); +bool isAllocaPromotable(const AllocaInst *AI); /// PromoteMemToReg - Promote the specified list of alloca instructions into /// scalar registers, inserting PHI nodes as appropriate. This function makes -- cgit v1.1