mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20724 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d57e55ec0d
commit
eba4604d49
@ -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
Block a user