From 9a3798632893c9fdec7e29afbdd98be6ef82a72a Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 21 May 2014 21:05:05 +0000 Subject: 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 --- tools/llc/llc.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'tools') 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 TargetTriple("mtriple", cl::desc("Override target triple for module")); -cl::opt NoVerify("disable-verify", cl::Hidden, - cl::desc("Do not verify input module")); +static cl::opt NoVerify("disable-verify", cl::Hidden, + cl::desc("Do not verify input module")); -cl::opt -DisableSimplifyLibCalls("disable-simplify-libcalls", - cl::desc("Disable simplify-libcalls"), - cl::init(false)); +static cl::opt DisableSimplifyLibCalls("disable-simplify-libcalls", + cl::desc("Disable simplify-libcalls")); static int compileModule(char**, LLVMContext&); -- cgit v1.2.3