[llvm-commits] CVS: llvm/lib/CodeGen/PreOpts/PreSelection.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Apr 24 13:37:01 PDT 2003


Changes in directory llvm/lib/CodeGen/PreOpts:

PreSelection.cpp updated: 1.8 -> 1.9

---
Log message:

Trivial cleanup


---
Diffs of the changes:

Index: llvm/lib/CodeGen/PreOpts/PreSelection.cpp
diff -u llvm/lib/CodeGen/PreOpts/PreSelection.cpp:1.8 llvm/lib/CodeGen/PreOpts/PreSelection.cpp:1.9
--- llvm/lib/CodeGen/PreOpts/PreSelection.cpp:1.8	Wed Apr 16 15:28:33 2003
+++ llvm/lib/CodeGen/PreOpts/PreSelection.cpp	Thu Apr 24 13:35:51 2003
@@ -150,13 +150,13 @@
     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





More information about the llvm-commits mailing list