aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-07-07 14:47:51 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-07-07 14:47:51 +0000
commit6cbe670db89adb04773a18454455afcb3c9a18c8 (patch)
tree4eb5384f5b8e43840ca7995b29864816afd47852 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent3705283b24fc317de8f3a367826a6cb8e3a557f4 (diff)
downloadllvm-6cbe670db89adb04773a18454455afcb3c9a18c8.zip
llvm-6cbe670db89adb04773a18454455afcb3c9a18c8.tar.gz
llvm-6cbe670db89adb04773a18454455afcb3c9a18c8.tar.bz2
Make helper functions static.
llvm-svn: 212460
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index 42a0e92..03f4a51 100644
--- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@ -760,7 +760,7 @@ getCOFFSectionFlags(SectionKind K) {
return Flags;
}
-const GlobalValue *getComdatGVForCOFF(const GlobalValue *GV) {
+static const GlobalValue *getComdatGVForCOFF(const GlobalValue *GV) {
const Comdat *C = GV->getComdat();
assert(C && "expected GV to have a Comdat!");