mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
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
This commit is contained in:
parent
46e24d4492
commit
abad1ceca0
@ -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);
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user