X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FCodeGen%2FPasses.cpp;h=f67eb79be3e1c8828a2f4cc82328062075b49fed;hb=d250329291dd9fe0d5f0e72e6cf1e287558a7cba;hp=87510e40dbd743467b1944a2457a3b1848469be7;hpb=00e533043d37e4a5b6783da7e3e29e8e6b240ad5;p=oota-llvm.git diff --git a/lib/CodeGen/Passes.cpp b/lib/CodeGen/Passes.cpp index 87510e40dbd..f67eb79be3e 100644 --- a/lib/CodeGen/Passes.cpp +++ b/lib/CodeGen/Passes.cpp @@ -2,8 +2,8 @@ // // The LLVM Compiler Infrastructure // -// This file was developed by the LLVM research group and is distributed under -// the University of Illinois Open Source License. See LICENSE.TXT for details. +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // @@ -30,13 +30,11 @@ MachinePassRegistry RegisterRegAlloc::Registry; /// RegAlloc command line options. /// //===---------------------------------------------------------------------===// -namespace { - cl::opt > - RegAlloc("regalloc", - cl::init(&createLinearScanRegisterAllocator), - cl::desc("Register allocator to use: (default = linearscan)")); -} +static cl::opt > +RegAlloc("regalloc", + cl::init(&createLinearScanRegisterAllocator), + cl::desc("Register allocator to use: (default = linearscan)")); //===---------------------------------------------------------------------===//