From 32c182a0a880bfffa8b319abd9b6a1dd8f43835a Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Fri, 30 Apr 2004 20:46:40 +0000 Subject: [PATCH] Fixed friend class name for ModuloSched git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13292 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetSchedInfo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/llvm/Target/TargetSchedInfo.h b/include/llvm/Target/TargetSchedInfo.h index 8f64087a452..8a0530d3ed7 100644 --- a/include/llvm/Target/TargetSchedInfo.h +++ b/include/llvm/Target/TargetSchedInfo.h @@ -67,8 +67,8 @@ struct CPUResource { resourceId_t rid; int maxNumUsers; // MAXINT if no restriction - CPUResource(const std::string& resourceName, int maxUsers) - : rname(resourceName), rid(nextId++), maxNumUsers(maxUsers) {} + CPUResource(const std::string& resourceName, int maxUsers); + private: static resourceId_t nextId; }; @@ -303,7 +303,7 @@ protected: - friend class ModuloSchedulingPass; + friend class ModuloScheduling; };