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 | 78ddcd7b03c84aef48b8996ca427da64eaa4f035 (patch) | |
tree | e122dadee3f569b4a3f249c2fd6bec0f012fcf46 /lib/CodeGen | |
parent | 9efc4d6aaaa0153c94a661c44198d514d4f83282 (diff) | |
download | external_llvm-78ddcd7b03c84aef48b8996ca427da64eaa4f035.zip external_llvm-78ddcd7b03c84aef48b8996ca427da64eaa4f035.tar.gz external_llvm-78ddcd7b03c84aef48b8996ca427da64eaa4f035.tar.bz2 |
Minor cleanups.
This pass should be moved to lib/Target/Sparc since it's sparc specific
It also needs a file comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6553 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rwxr-xr-x | lib/CodeGen/Mapping/FInfo.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/CodeGen/Mapping/FInfo.cpp b/lib/CodeGen/Mapping/FInfo.cpp index 504baec..e72303d 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); + }; } |