[llvm-commits] CVS: llvm/lib/CodeGen/Mapping/FInfo.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Jun 2 17:58:02 PDT 2003


Changes in directory llvm/lib/CodeGen/Mapping:

FInfo.cpp updated: 1.1 -> 1.2

---
Log message:

Minor cleanups.
This pass should be moved to lib/Target/Sparc since it's sparc specific
It also needs a file comment.



---
Diffs of the changes:

Index: llvm/lib/CodeGen/Mapping/FInfo.cpp
diff -u llvm/lib/CodeGen/Mapping/FInfo.cpp:1.1 llvm/lib/CodeGen/Mapping/FInfo.cpp:1.2
--- llvm/lib/CodeGen/Mapping/FInfo.cpp:1.1	Tue Aug 27 17:47:09 2002
+++ llvm/lib/CodeGen/Mapping/FInfo.cpp	Mon Jun  2 17:57:41 2003
@@ -2,19 +2,17 @@
 #include "llvm/Pass.h"
 #include "llvm/Module.h"
 
-
 namespace {
   class FunctionInfo : public Pass {
     std::ostream &Out;
   public:
     FunctionInfo(std::ostream &out) : Out(out){}
-    const char* getPassName() const{return "Sparc FunctionInfo";}
+    const char* getPassName() const{ return "Sparc FunctionInfo"; }
     bool run(Module &M);
   private:
-    void FunctionInfo::writePrologue(const char *area,
-					const char *label);
-    void FunctionInfo::writeEpilogue(const char *area,
-					const char *label);
+    void writePrologue(const char *area, const char *label);
+    void writeEpilogue(const char *area, const char *label);
+                       
   };
 }
 





More information about the llvm-commits mailing list