Make this method non-const. Making it const causes the const version of
getIGroup to be called instead of the non-const one. These two methods have (??) different behavior, so this change fixes bugs. llvm-svn: 20724
This commit is contained in:
parent
98f7e1c370
commit
87ee2ba48d
|
@ -163,7 +163,7 @@ public: // constructors and destructor
|
|||
|
||||
public: // accessor functions to query chosen schedule
|
||||
const SchedGraphNode* getInstr (unsigned int slotNum,
|
||||
CycleCount_t c) const {
|
||||
CycleCount_t c) {
|
||||
const InstrGroup* igroup = this->getIGroup(c);
|
||||
return (igroup == NULL)? NULL : (*igroup)[slotNum];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue