summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-10 06:30:11 +0000
committerChris Lattner <sabre@nondot.org>2006-03-10 06:30:11 +0000
commitde76851d421607273f235b05a9b3941a5a20624a (patch)
treec6bbebbf98c4f594d630336986282ade2bcf243a /include
parentda4ff69153c7562a71a1990929adc0faa8d0996d (diff)
downloadexternal_llvm-de76851d421607273f235b05a9b3941a5a20624a.zip
external_llvm-de76851d421607273f235b05a9b3941a5a20624a.tar.gz
external_llvm-de76851d421607273f235b05a9b3941a5a20624a.tar.bz2
make some methods protected instead of private
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26681 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/ScheduleDAG.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/ScheduleDAG.h b/include/llvm/CodeGen/ScheduleDAG.h
index 25b62e2..c6d670a 100644
--- a/include/llvm/CodeGen/ScheduleDAG.h
+++ b/include/llvm/CodeGen/ScheduleDAG.h
@@ -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