make some methods protected instead of private
authorChris Lattner <sabre@nondot.org>
Fri, 10 Mar 2006 06:30:11 +0000 (06:30 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 10 Mar 2006 06:30:11 +0000 (06:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26681 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/ScheduleDAG.h

index 25b62e2896c7f6ed5201686a98bd76029fe9bd86..c6d670ab02cd4c32eb8d0397bcc58bd870d2e203 100644 (file)
@@ -382,16 +382,16 @@ namespace llvm {
   private:
     void AddOperand(MachineInstr *MI, SDOperand Op, unsigned IIOpNum,
                     const TargetInstrDescriptor *II);
-      
+
+    void AddToGroup(NodeInfo *D, NodeInfo *U);
+protected:
     /// PrepareNodeInfo - Set up the basic minimum node info for scheduling.
     /// 
     void PrepareNodeInfo();
-
+    
     /// IdentifyGroups - Put flagged nodes into groups.
     ///
     void IdentifyGroups();
-
-    void AddToGroup(NodeInfo *D, NodeInfo *U);
   };
 
   /// createSimpleDAGScheduler - This creates a simple two pass instruction