Use vector for machine instructions in GetInstructionsByRule.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1899 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vikram S. Adve 2002-03-18 03:20:46 +00:00
parent 851597c3b3
commit f1a51be375

View File

@ -20,18 +20,17 @@ class MachineInstr;
class InstructionNode;
class TargetMachine;
/************************* Required Functions *******************************
* Target-dependent functions that MUST be implemented for each target.
***************************************************************************/
const unsigned MAX_INSTR_PER_VMINSTR = 8;
extern unsigned GetInstructionsByRule (InstructionNode* subtreeRoot,
extern void GetInstructionsByRule (InstructionNode* subtreeRoot,
int ruleForNode,
short* nts,
TargetMachine &Target,
MachineInstr** minstrVec);
vector<MachineInstr*>& mvec);
extern unsigned GetInstructionsForProlog(BasicBlock* entryBB,
TargetMachine &Target,