Initialize the ImplicitDefed member, to avoid getting stale

data from a previous block.

llvm-svn: 61237
This commit is contained in:
Dan Gohman 2008-12-19 00:46:20 +00:00
parent b4c55bb857
commit 8c82a8a984
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ void RegScavenger::enterBasicBlock(MachineBasicBlock *mbb) {
ScavengeRestore = NULL;
CurrDist = 0;
DistanceMap.clear();
ImplicitDefed.reset();
// All registers started out unused.
RegsAvailable.set();