Use vector for machine instructions in GetInstructionsByRule.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 18 Mar 2002 03:20:46 +0000 (03:20 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 18 Mar 2002 03:20:46 +0000 (03:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1899 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/InstrSelection.h

index cfd7131f8328a3f1a7bec4e88c9c16faa2ea72a0..fa4f21a1751a17ab94e4dbeceb9703e78f34885b 100644 (file)
@@ -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,