Don't use NULL as a fake keyword

llvm-svn: 164067
This commit is contained in:
Andrew Trick 2012-09-17 22:26:34 +00:00
parent 9400ee3c79
commit cc6a5dbc2b

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