diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-08-22 21:27:49 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-08-22 21:27:49 +0000 |
commit | 70f24c62ad6314a742a101ef9de046f5e788cb7f (patch) | |
tree | c4b8ec4bb5b47f039c9149de9570bc569bb50869 /lib/Target/Mips/MipsSubtarget.cpp | |
parent | 449416deb6d08bbc0939c51e5e82f55decdff601 (diff) | |
download | external_llvm-70f24c62ad6314a742a101ef9de046f5e788cb7f.zip external_llvm-70f24c62ad6314a742a101ef9de046f5e788cb7f.tar.gz external_llvm-70f24c62ad6314a742a101ef9de046f5e788cb7f.tar.bz2 |
Make option variables static, so they won't cause nameclash
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55203 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsSubtarget.cpp')
-rw-r--r-- | lib/Target/Mips/MipsSubtarget.cpp | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/lib/Target/Mips/MipsSubtarget.cpp b/lib/Target/Mips/MipsSubtarget.cpp index df069f6..530920b 100644 --- a/lib/Target/Mips/MipsSubtarget.cpp +++ b/lib/Target/Mips/MipsSubtarget.cpp @@ -18,13 +18,16 @@ #include "llvm/Support/CommandLine.h" using namespace llvm; -cl::opt<bool> NotABICall("disable-mips-abicall", cl::Hidden, - cl::desc("Disable code for SVR4-style dynamic objects")); -cl::opt<bool> AbsoluteCall("enable-mips-absolute-call", cl::Hidden, - cl::desc("Enable absolute call within abicall")); -cl::opt<unsigned> SSThreshold("mips-ssection-threshold", cl::Hidden, - cl::desc("Small data and bss section threshold size (default=8)"), - cl::init(8)); +static cl::opt<bool> +NotABICall("disable-mips-abicall", cl::Hidden, + cl::desc("Disable code for SVR4-style dynamic objects")); +static cl::opt<bool> +AbsoluteCall("enable-mips-absolute-call", cl::Hidden, + cl::desc("Enable absolute call within abicall")); +static cl::opt<unsigned> +SSThreshold("mips-ssection-threshold", cl::Hidden, + cl::desc("Small data and bss section threshold size (default=8)"), + cl::init(8)); MipsSubtarget::MipsSubtarget(const TargetMachine &TM, const Module &M, const std::string &FS, bool little) : |