diff options
Diffstat (limited to 'lib/IR/Globals.cpp')
-rw-r--r-- | lib/IR/Globals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/Globals.cpp b/lib/IR/Globals.cpp index 160ddc9e81..5410cc031d 100644 --- a/lib/IR/Globals.cpp +++ b/lib/IR/Globals.cpp @@ -59,7 +59,7 @@ void GlobalValue::copyAttributesFrom(const GlobalValue *Src) { setDLLStorageClass(Src->getDLLStorageClass()); } -const GlobalObject *getBaseObject(const Constant &C) { +static const GlobalObject *getBaseObject(const Constant &C) { // FIXME: We should probably return a base + offset pair for non-zero GEPs. return dyn_cast<GlobalObject>(C.stripPointerCasts()); } |