mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-29 13:32:33 +00:00
Initialize the ImplicitDefed member, to avoid getting stale
data from a previous block. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61237 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5b200d8a13
commit
1385758215
@ -112,6 +112,7 @@ void RegScavenger::enterBasicBlock(MachineBasicBlock *mbb) {
|
|||||||
ScavengeRestore = NULL;
|
ScavengeRestore = NULL;
|
||||||
CurrDist = 0;
|
CurrDist = 0;
|
||||||
DistanceMap.clear();
|
DistanceMap.clear();
|
||||||
|
ImplicitDefed.reset();
|
||||||
|
|
||||||
// All registers started out unused.
|
// All registers started out unused.
|
||||||
RegsAvailable.set();
|
RegsAvailable.set();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user