From abad1ceca0ec204c0d5435a577a37fddc11da289 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 2 Jun 2003 22:57:41 +0000 Subject: [PATCH] Minor cleanups. This pass should be moved to lib/Target/Sparc since it's sparc specific It also needs a file comment. llvm-svn: 6553 --- lib/CodeGen/Mapping/FInfo.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/CodeGen/Mapping/FInfo.cpp b/lib/CodeGen/Mapping/FInfo.cpp index 504baec154f..e72303d21a7 100755 --- a/lib/CodeGen/Mapping/FInfo.cpp +++ b/lib/CodeGen/Mapping/FInfo.cpp @@ -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); + }; }