summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-08-22 21:27:49 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-08-22 21:27:49 +0000
commit9f0d0639cad2cd3fa19425b016c0c5df4a1eac34 (patch)
tree9bf3376553660d39f01e415c6abf445c96380b58 /llvm/lib
parentfc4f64eed018d60953bb848505f2d9b388e4a3aa (diff)
downloadbcm5719-llvm-9f0d0639cad2cd3fa19425b016c0c5df4a1eac34.tar.gz
bcm5719-llvm-9f0d0639cad2cd3fa19425b016c0c5df4a1eac34.zip
Make option variables static, so they won't cause nameclash
llvm-svn: 55203
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Mips/MipsSubtarget.cpp17
1 files changed, 10 insertions, 7 deletions
diff --git a/llvm/lib/Target/Mips/MipsSubtarget.cpp b/llvm/lib/Target/Mips/MipsSubtarget.cpp
index df069f69966..530920b03c3 100644
--- a/llvm/lib/Target/Mips/MipsSubtarget.cpp
+++ b/llvm/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) :
OpenPOWER on IntegriCloud