Use vector for machine instructions in GetInstructionsByRule.

llvm-svn: 1899
This commit is contained in:
Vikram S. Adve 2002-03-18 03:20:46 +00:00
parent c9fc306b70
commit 6547d4c1fe
1 changed files with 2 additions and 3 deletions

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,