]> granicus.if.org Git - llvm/commitdiff
Trivial cleanup
authorChris Lattner <sabre@nondot.org>
Thu, 24 Apr 2003 18:35:51 +0000 (18:35 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 24 Apr 2003 18:35:51 +0000 (18:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5899 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9PreSelection.cpp

index b4bbc77a071e1279a50c35f8dba91123ed4041f0..216091787f1095b6c0d1d71d51994bda1f3f39cc 100644 (file)
@@ -150,13 +150,13 @@ namespace {
     void visitOneOperand(Instruction &I, Constant* CV, unsigned opNum,
                          Instruction& insertBefore); // iworks on one operand
   };
-}  // end anonymous namespace
 
+  // Register the pass...
+  RegisterOpt<PreSelection> X("preselect",
+                              "Specialize LLVM code for a target machine",
+                              createPreSelectionPass);
+}  // end anonymous namespace
 
-// Register the pass...
-static RegisterOpt<PreSelection> X("preselect",
-                                   "Specialize LLVM code for a target machine",
-                                   createPreSelectionPass);
 
 //------------------------------------------------------------------------------
 // Helper functions used by methods of class PreSelection