mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-30 22:18:46 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user