aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2004-04-30 20:46:40 +0000
committerTanya Lattner <tonic@nondot.org>2004-04-30 20:46:40 +0000
commit32c182a0a880bfffa8b319abd9b6a1dd8f43835a (patch)
treed97a2279124fa86f3c058fa13b87ba75b1061cf8 /include
parent0e1c48b20995f4c6c304688ff2d06f26528baf1a (diff)
downloadexternal_llvm-32c182a0a880bfffa8b319abd9b6a1dd8f43835a.zip
external_llvm-32c182a0a880bfffa8b319abd9b6a1dd8f43835a.tar.gz
external_llvm-32c182a0a880bfffa8b319abd9b6a1dd8f43835a.tar.bz2
Fixed friend class name for ModuloSched
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13292 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetSchedInfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Target/TargetSchedInfo.h b/include/llvm/Target/TargetSchedInfo.h
index 8f64087..8a0530d 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;
};