From 39adb180bc2822146618b5bf9059eb7f134914b2 Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Tue, 18 Sep 2012 04:18:39 +0000 Subject: [PATCH] Let NULL slip through again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164099 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCSchedule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/MC/MCSchedule.h b/include/llvm/MC/MCSchedule.h index 62fb22fb2aa..41bdb02f615 100644 --- a/include/llvm/MC/MCSchedule.h +++ b/include/llvm/MC/MCSchedule.h @@ -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"); -- 2.11.0