Let NULL slip through again.

llvm-svn: 164099
This commit is contained in:
Andrew Trick 2012-09-18 04:18:39 +00:00
parent 6e6d597b1c
commit a67b2a702c
1 changed files with 1 additions and 1 deletions

View File

@ -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");