diff options
-rw-r--r-- | include/llvm/Target/TargetSchedInfo.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Target/TargetSchedInfo.h b/include/llvm/Target/TargetSchedInfo.h index 343c097ef3..7357c17cfb 100644 --- a/include/llvm/Target/TargetSchedInfo.h +++ b/include/llvm/Target/TargetSchedInfo.h @@ -68,7 +68,7 @@ struct CPUResource { int maxNumUsers; // MAXINT if no restriction CPUResource(const std::string& resourceName, int maxUsers); - + static CPUResource* getCPUResource(resourceId_t id); private: static resourceId_t nextId; }; @@ -302,8 +302,7 @@ protected: conflictLists; // indexed by [opcode] - friend class ModuloSchedGraph; - friend class ModuloScheduling; + friend class ModuloSchedulingPass; }; |