aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetSchedInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Target/TargetSchedInfo.h')
-rw-r--r--include/llvm/Target/TargetSchedInfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetSchedInfo.h b/include/llvm/Target/TargetSchedInfo.h
index 8a904d99bc..9a4497f9c2 100644
--- a/include/llvm/Target/TargetSchedInfo.h
+++ b/include/llvm/Target/TargetSchedInfo.h
@@ -152,7 +152,8 @@ private:
/// TargetSchedInfo - Common interface to machine information for
/// instruction scheduling
///
-struct TargetSchedInfo {
+class TargetSchedInfo {
+public:
const TargetMachine& target;
unsigned maxNumIssueTotal;