From: Vikram S. Adve Date: Mon, 18 Mar 2002 03:20:46 +0000 (+0000) Subject: Use vector for machine instructions in GetInstructionsByRule. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f1a51be3757f750a44f473b0bccd5905d6e3f029;p=oota-llvm.git Use vector for machine instructions in GetInstructionsByRule. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1899 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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,