diff options
author | Chris Lattner <sabre@nondot.org> | 2003-06-02 22:57:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-06-02 22:57:41 +0000 |
commit | 17776f432e629d1ff9fd9a5b13d720c82538ad35 (patch) | |
tree | 92746a7947bad91539b423afebffc7b3b588930c /llvm/lib/CodeGen/Mapping/FInfo.cpp | |
parent | 396680793c7da88b9db89a4243c405e373099407 (diff) | |
download | bcm5719-llvm-17776f432e629d1ff9fd9a5b13d720c82538ad35.tar.gz bcm5719-llvm-17776f432e629d1ff9fd9a5b13d720c82538ad35.zip |
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
Diffstat (limited to 'llvm/lib/CodeGen/Mapping/FInfo.cpp')
-rwxr-xr-x | llvm/lib/CodeGen/Mapping/FInfo.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/Mapping/FInfo.cpp b/llvm/lib/CodeGen/Mapping/FInfo.cpp index 504baec154f..e72303d21a7 100755 --- a/llvm/lib/CodeGen/Mapping/FInfo.cpp +++ b/llvm/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); + }; } |