[llvm-commits] [llvm] r164099 - /llvm/trunk/include/llvm/MC/MCSchedule.h

Andrew Trick atrick at apple.com
Mon Sep 17 21:18:39 PDT 2012


Author: atrick
Date: Mon Sep 17 23:18:39 2012
New Revision: 164099

URL: http://llvm.org/viewvc/llvm-project?rev=164099&view=rev
Log:
Let NULL slip through again.

Modified:
    llvm/trunk/include/llvm/MC/MCSchedule.h

Modified: llvm/trunk/include/llvm/MC/MCSchedule.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCSchedule.h?rev=164099&r1=164098&r2=164099&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCSchedule.h (original)
+++ llvm/trunk/include/llvm/MC/MCSchedule.h Mon Sep 17 23:18:39 2012
@@ -208,7 +208,7 @@
   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");





More information about the llvm-commits mailing list