forked from OSchip/llvm-project
Use vector for machine instructions in GetInstructionsByRule.
llvm-svn: 1899
This commit is contained in:
parent
c9fc306b70
commit
6547d4c1fe
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue