forked from OSchip/llvm-project
Initialize the ImplicitDefed member, to avoid getting stale
data from a previous block. llvm-svn: 61237
This commit is contained in:
parent
b4c55bb857
commit
8c82a8a984
|
@ -112,6 +112,7 @@ void RegScavenger::enterBasicBlock(MachineBasicBlock *mbb) {
|
|||
ScavengeRestore = NULL;
|
||||
CurrDist = 0;
|
||||
DistanceMap.clear();
|
||||
ImplicitDefed.reset();
|
||||
|
||||
// All registers started out unused.
|
||||
RegsAvailable.set();
|
||||
|
|
Loading…
Reference in New Issue