summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/Mapping/FInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-02 22:57:41 +0000
committerChris Lattner <sabre@nondot.org>2003-06-02 22:57:41 +0000
commit17776f432e629d1ff9fd9a5b13d720c82538ad35 (patch)
tree92746a7947bad91539b423afebffc7b3b588930c /llvm/lib/CodeGen/Mapping/FInfo.cpp
parent396680793c7da88b9db89a4243c405e373099407 (diff)
downloadbcm5719-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-xllvm/lib/CodeGen/Mapping/FInfo.cpp10
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);
+
};
}
OpenPOWER on IntegriCloud