diff options
author | Eric Christopher <echristo@gmail.com> | 2014-05-21 21:05:05 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-05-21 21:05:05 +0000 |
commit | 9a3798632893c9fdec7e29afbdd98be6ef82a72a (patch) | |
tree | 3d9e84c22e0466056c935927639a9b8ffa2b623d /tools/llc | |
parent | c10a1edf3f6f86f8df973fe9de9432d5d4da6219 (diff) | |
download | llvm-9a3798632893c9fdec7e29afbdd98be6ef82a72a.tar.gz llvm-9a3798632893c9fdec7e29afbdd98be6ef82a72a.tar.bz2 llvm-9a3798632893c9fdec7e29afbdd98be6ef82a72a.tar.xz |
Make a couple of command lines static and remove an unnecessary
initialization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209320 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llc')
-rw-r--r-- | tools/llc/llc.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index abdc1ab634..47be4a8b71 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -75,13 +75,11 @@ OptLevel("O", static cl::opt<std::string> TargetTriple("mtriple", cl::desc("Override target triple for module")); -cl::opt<bool> NoVerify("disable-verify", cl::Hidden, - cl::desc("Do not verify input module")); +static cl::opt<bool> NoVerify("disable-verify", cl::Hidden, + cl::desc("Do not verify input module")); -cl::opt<bool> -DisableSimplifyLibCalls("disable-simplify-libcalls", - cl::desc("Disable simplify-libcalls"), - cl::init(false)); +static cl::opt<bool> DisableSimplifyLibCalls("disable-simplify-libcalls", + cl::desc("Disable simplify-libcalls")); static int compileModule(char**, LLVMContext&); |