Fixed friend class name for ModuloSched
authorTanya Lattner <tonic@nondot.org>
Fri, 30 Apr 2004 20:46:40 +0000 (20:46 +0000)
committerTanya Lattner <tonic@nondot.org>
Fri, 30 Apr 2004 20:46:40 +0000 (20:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13292 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetSchedInfo.h

index 8f64087a452fe6307e10d1316271f22314328da8..8a0530d3ed7c3e4ab473c212e8d3ef32ba03ab88 100644 (file)
@@ -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;
   
 };