aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/MC')
-rw-r--r--include/llvm/MC/MCSchedule.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/llvm/MC/MCSchedule.h b/include/llvm/MC/MCSchedule.h
index cff175b..62fb22f 100644
--- a/include/llvm/MC/MCSchedule.h
+++ b/include/llvm/MC/MCSchedule.h
@@ -208,14 +208,7 @@ public:
unsigned getProcessorID() const { return ProcID; }
/// Does this machine model include instruction-level scheduling.
- bool hasInstrSchedModel() const {
- return SchedClassTable;
- }
-
- /// Does this machine model include cycle-to-cycle itineraries.
- bool hasInstrItineraries() const {
- return InstrItineraries;
- }
+ bool hasInstrSchedModel() const { return SchedClassTable != NULL; }
const MCProcResourceDesc *getProcResource(unsigned ProcResourceIdx) const {
assert(hasInstrSchedModel() && "No scheduling machine model");