From f1a51be3757f750a44f473b0bccd5905d6e3f029 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Mon, 18 Mar 2002 03:20:46 +0000 Subject: [PATCH] Use vector for machine instructions in GetInstructionsByRule. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1899 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/InstrSelection.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/llvm/CodeGen/InstrSelection.h b/include/llvm/CodeGen/InstrSelection.h index cfd7131f832..fa4f21a1751 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& mvec); extern unsigned GetInstructionsForProlog(BasicBlock* entryBB, TargetMachine &Target,