aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-03-18 03:20:46 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-03-18 03:20:46 +0000
commitf1a51be3757f750a44f473b0bccd5905d6e3f029 (patch)
treee71bddc7c0833cb4ad3af0c651d1ef7317746c4b
parent851597c3b34a03b700f48d284fb9b186ccf9ef91 (diff)
Use vector for machine instructions in GetInstructionsByRule.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1899 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/InstrSelection.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/InstrSelection.h b/include/llvm/CodeGen/InstrSelection.h
index cfd7131f83..fa4f21a175 100644
--- a/include/llvm/CodeGen/InstrSelection.h
+++ b/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,