Move the InsertPrologEpilogCode class out of the Sparc.cpp file into the

new PrologEpilogCodeInserter.cpp file, and include the bodies of the
GetInstructionsFor(Prolog|Epilog) functions from SparcInstrSelection.cpp
into the class.  This eliminates the need for a static global vector of
instructions and a class of errors that is really unneccesary.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2194 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-04-09 05:20:15 +00:00
parent bcd6cc8951
commit 6111a87b3a
2 changed files with 0 additions and 89 deletions

View File

@@ -32,14 +32,6 @@ extern void GetInstructionsByRule (InstructionNode* subtreeRoot,
TargetMachine &Target,
vector<MachineInstr*>& mvec);
extern unsigned GetInstructionsForProlog(BasicBlock* entryBB,
TargetMachine &Target,
MachineInstr** minstrVec);
extern unsigned GetInstructionsForEpilog(BasicBlock* anExitBB,
TargetMachine &Target,
MachineInstr** minstrVec);
extern bool ThisIsAChainRule (int eruleno);