Add a clear() method to PriorityQueue.
[oota-llvm.git] / lib / Transforms / IPO / Inliner.cpp
index cb21b79bb2e7a35e5192ea9b413c821e3bb0bcae..1c3d5a81f36967a49c58398a2d0be62ae93a8f07 100644 (file)
@@ -30,11 +30,9 @@ using namespace llvm;
 STATISTIC(NumInlined, "Number of functions inlined");
 STATISTIC(NumDeleted, "Number of functions deleted because all callers found");
 
-namespace {
-  cl::opt<int>
-  InlineLimit("inline-threshold", cl::Hidden, cl::init(200),
+static cl::opt<int>
+InlineLimit("inline-threshold", cl::Hidden, cl::init(200),
         cl::desc("Control the amount of inlining to perform (default = 200)"));
-}
 
 Inliner::Inliner(const void *ID) 
   : CallGraphSCCPass((intptr_t)ID), InlineThreshold(InlineLimit) {}