Let NULL slip through again.
authorAndrew Trick <atrick@apple.com>
Tue, 18 Sep 2012 04:18:39 +0000 (04:18 +0000)
committerAndrew Trick <atrick@apple.com>
Tue, 18 Sep 2012 04:18:39 +0000 (04:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164099 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCSchedule.h

index 62fb22fb2aaabd0c7c1ef7b03d15a069c1d3dd3b..41bdb02f61527724d1d6b03d0a0c83b0646ddbfe 100644 (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");