[llvm-commits] [llvm] r164067 - /llvm/trunk/include/llvm/MC/MCSchedule.h
Andrew Trick
atrick at apple.com
Mon Sep 17 15:26:34 PDT 2012
Author: atrick
Date: Mon Sep 17 17:26:34 2012
New Revision: 164067
URL: http://llvm.org/viewvc/llvm-project?rev=164067&view=rev
Log:
Don't use NULL as a fake keyword
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=164067&r1=164066&r2=164067&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCSchedule.h (original)
+++ llvm/trunk/include/llvm/MC/MCSchedule.h Mon Sep 17 17:26:34 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