summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@arm.com>2012-11-23 10:47:35 +0000
committerJoey Gouly <joey.gouly@arm.com>2012-11-23 10:47:35 +0000
commitf284aefa112b76d64917b156cf5fa7997fb0bdac (patch)
treec8c995c372a8b7e411d263a9e8838163e01ab5dc /include
parentd5f03186e5b5c20225ba05d4506100ad763c79a1 (diff)
downloadllvm-f284aefa112b76d64917b156cf5fa7997fb0bdac.tar.gz
llvm-f284aefa112b76d64917b156cf5fa7997fb0bdac.tar.bz2
llvm-f284aefa112b76d64917b156cf5fa7997fb0bdac.tar.xz
Remove unused parameter Penalty from the BoundsChecking pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168511 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Transforms/Instrumentation.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h
index 8e63aaa4e8..3558251a43 100644
--- a/include/llvm/Transforms/Instrumentation.h
+++ b/include/llvm/Transforms/Instrumentation.h
@@ -41,9 +41,7 @@ FunctionPass *createThreadSanitizerPass();
// BoundsChecking - This pass instruments the code to perform run-time bounds
// checking on loads, stores, and other memory intrinsics.
-// Penalty is the maximum run-time that is acceptable for the user.
-//
-FunctionPass *createBoundsCheckingPass(unsigned Penalty = 5);
+FunctionPass *createBoundsCheckingPass();
} // End llvm namespace