forked from OSchip/llvm-project
parent
6e6d597b1c
commit
a67b2a702c
|
@ -208,7 +208,7 @@ public:
|
|||
unsigned getProcessorID() const { return ProcID; }
|
||||
|
||||
/// Does this machine model include instruction-level scheduling.
|
||||
bool hasInstrSchedModel() const { return SchedClassTable != NULL; }
|
||||
bool hasInstrSchedModel() const { return SchedClassTable; }
|
||||
|
||||
const MCProcResourceDesc *getProcResource(unsigned ProcResourceIdx) const {
|
||||
assert(hasInstrSchedModel() && "No scheduling machine model");
|
||||
|
|
Loading…
Reference in New Issue