summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-03-09 16:23:46 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-03-09 16:23:46 +0000
commitf044d3f93b1068059a4cf13949440ad81f501278 (patch)
tree2b4dcf46358719512014b2f8da45b292185a384a /llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
parentdb4995a1976b4e7f1fc8d655e586fccf8016f492 (diff)
downloadbcm5719-llvm-f044d3f93b1068059a4cf13949440ad81f501278.tar.gz
bcm5719-llvm-f044d3f93b1068059a4cf13949440ad81f501278.zip
Make helper functions static.
Found by -Wmissing-prototypes. NFC. llvm-svn: 231664
Diffstat (limited to 'llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
index ed8029b8a37..f5d21fffda2 100644
--- a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
+++ b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
@@ -1165,11 +1165,11 @@ static AttributeSet legalizeCallAttributes(AttributeSet AS) {
/// statepointToken - statepoint instruction to which relocates should be
/// bound.
/// Builder - Llvm IR builder to be used to construct new calls.
-void CreateGCRelocates(ArrayRef<llvm::Value *> liveVariables,
- const int liveStart,
- ArrayRef<llvm::Value *> basePtrs,
- Instruction *statepointToken, IRBuilder<> Builder) {
-
+static void CreateGCRelocates(ArrayRef<llvm::Value *> liveVariables,
+ const int liveStart,
+ ArrayRef<llvm::Value *> basePtrs,
+ Instruction *statepointToken,
+ IRBuilder<> Builder) {
SmallVector<Instruction *, 64> NewDefs;
NewDefs.reserve(liveVariables.size());
OpenPOWER on IntegriCloud