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 InstructionNode;
|
||||||
class TargetMachine;
|
class TargetMachine;
|
||||||
|
|
||||||
|
|
||||||
/************************* Required Functions *******************************
|
/************************* Required Functions *******************************
|
||||||
* Target-dependent functions that MUST be implemented for each target.
|
* Target-dependent functions that MUST be implemented for each target.
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
const unsigned MAX_INSTR_PER_VMINSTR = 8;
|
const unsigned MAX_INSTR_PER_VMINSTR = 8;
|
||||||
|
|
||||||
extern unsigned GetInstructionsByRule (InstructionNode* subtreeRoot,
|
extern void GetInstructionsByRule (InstructionNode* subtreeRoot,
|
||||||
int ruleForNode,
|
int ruleForNode,
|
||||||
short* nts,
|
short* nts,
|
||||||
TargetMachine &Target,
|
TargetMachine &Target,
|
||||||
MachineInstr** minstrVec);
|
vector<MachineInstr*>& mvec);
|
||||||
|
|
||||||
extern unsigned GetInstructionsForProlog(BasicBlock* entryBB,
|
extern unsigned GetInstructionsForProlog(BasicBlock* entryBB,
|
||||||
TargetMachine &Target,
|
TargetMachine &Target,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue