mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-12 07:37:34 +00:00
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:
parent
851597c3b3
commit
f1a51be375
@ -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…
x
Reference in New Issue
Block a user