aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-09-17 22:26:34 +0000
committerAndrew Trick <atrick@apple.com>2012-09-17 22:26:34 +0000
commit97d552e5c71dd45e1a124e5a87550270a20a9062 (patch)
tree157359c80f10c2cdffc6b5eb1ebb0e5d13830302
parenta2a47d1c50a7acecd729109c334ce3c496f0d549 (diff)
Don't use NULL as a fake keyword
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164067 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/MC/MCSchedule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/MCSchedule.h b/include/llvm/MC/MCSchedule.h
index 62fb22fb2a..41bdb02f61 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");