diff options
| author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-03-18 03:20:46 +0000 |
|---|---|---|
| committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-03-18 03:20:46 +0000 |
| commit | 6547d4c1fe74b435cf91c94e27a3f9450b31bb34 (patch) | |
| tree | adbc3d87d1c0307d442a2248cb7c423e85bba333 /llvm | |
| parent | c9fc306b7076dd60119c842815d9766c0bff3a17 (diff) | |
| download | bcm5719-llvm-6547d4c1fe74b435cf91c94e27a3f9450b31bb34.tar.gz bcm5719-llvm-6547d4c1fe74b435cf91c94e27a3f9450b31bb34.zip | |
Use vector for machine instructions in GetInstructionsByRule.
llvm-svn: 1899
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/CodeGen/InstrSelection.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/include/llvm/CodeGen/InstrSelection.h b/llvm/include/llvm/CodeGen/InstrSelection.h index cfd7131f832..fa4f21a1751 100644 --- a/llvm/include/llvm/CodeGen/InstrSelection.h +++ b/llvm/include/llvm/CodeGen/InstrSelection.h @@ -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, |

