Change the representation of MCCFIInstruction.
[oota-llvm.git] / include / llvm / MC / MCSchedule.h
index c9a060c79b141080f0b81d71a9b90e7408f33e68..0c71ee513500ce2f101da62daf768fc3a2f26228 100644 (file)
@@ -219,6 +219,10 @@ public:
   /// Does this machine model include instruction-level scheduling.
   bool hasInstrSchedModel() const { return SchedClassTable; }
 
+  unsigned getNumProcResourceKinds() const {
+    return NumProcResourceKinds;
+  }
+
   const MCProcResourceDesc *getProcResource(unsigned ProcResourceIdx) const {
     assert(hasInstrSchedModel() && "No scheduling machine model");