mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Let NULL slip through again.
llvm-svn: 164099
This commit is contained in:
parent
e3e6fae309
commit
1a1e7664ae
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user