Make several variable declarations static.
llvm-svn: 50696
diff --git a/llvm/lib/Transforms/IPO/LoopExtractor.cpp b/llvm/lib/Transforms/IPO/LoopExtractor.cpp
index a2aa4e3..54fc442 100644
--- a/llvm/lib/Transforms/IPO/LoopExtractor.cpp
+++ b/llvm/lib/Transforms/IPO/LoopExtractor.cpp
@@ -149,7 +149,7 @@
namespace {
// BlockFile - A file which contains a list of blocks that should not be
// extracted.
- cl::opt<std::string>
+ static cl::opt<std::string>
BlockFile("extract-blocks-file", cl::value_desc("filename"),
cl::desc("A file containing list of basic blocks to not extract"),
cl::Hidden);