forked from OSchip/llvm-project
[MCA][Scheduler] Correctly initialize field NumDispatchedToThePendingSet.
This should have been part of r354490. llvm-svn: 354493
This commit is contained in:
parent
9e302c6231
commit
51c1cc0757
|
@ -160,7 +160,8 @@ public:
|
|||
|
||||
Scheduler(std::unique_ptr<ResourceManager> RM, LSUnit &Lsu,
|
||||
std::unique_ptr<SchedulerStrategy> SelectStrategy)
|
||||
: LSU(Lsu), Resources(std::move(RM)), BusyResourceUnits(0) {
|
||||
: LSU(Lsu), Resources(std::move(RM)), BusyResourceUnits(0),
|
||||
NumDispatchedToThePendingSet(0) {
|
||||
initializeStrategy(std::move(SelectStrategy));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue