projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d57e55e
)
Make this method non-const. Making it const causes the const version of
author
Tanya Lattner
<tonic@nondot.org>
Mon, 21 Mar 2005 06:07:43 +0000
(06:07 +0000)
committer
Tanya Lattner
<tonic@nondot.org>
Mon, 21 Mar 2005 06:07:43 +0000
(06:07 +0000)
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
lib/Target/SparcV9/InstrSched/InstrScheduling.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/SparcV9/InstrSched/InstrScheduling.cpp
b/lib/Target/SparcV9/InstrSched/InstrScheduling.cpp
index 874dd61876c8c7ee12f0121b496824185450f8e7..f0ac384442ebf556759981013d50b42755452fd9 100644
(file)
--- a/
lib/Target/SparcV9/InstrSched/InstrScheduling.cpp
+++ b/
lib/Target/SparcV9/InstrSched/InstrScheduling.cpp
@@
-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];
}