Factor local liveness computation out into its own function.
[oota-llvm.git] / lib / CodeGen / OcamlCollector.cpp
index 95022a9ed4dc1eee62b1c7866e4d97eb3b50ce6a..6b947b10507f8b912be32bcd64804c3ce9654d37 100644 (file)
@@ -35,11 +35,11 @@ namespace {
                         const TargetAsmInfo &TAI);
   };
   
-  CollectorRegistry::Add<OcamlCollector>
-  X("ocaml", "ocaml 3.10-compatible collector");
-  
 }
 
+static CollectorRegistry::Add<OcamlCollector>
+X("ocaml", "ocaml 3.10-compatible collector");
+
 // -----------------------------------------------------------------------------
 
 static void EmitCamlGlobal(const Module &M, std::ostream &OS, AsmPrinter &AP,