Skip to content
Snippets Groups Projects
Commit 8c82a8a9 authored by Dan Gohman's avatar Dan Gohman
Browse files

Initialize the ImplicitDefed member, to avoid getting stale

data from a previous block.

llvm-svn: 61237
parent b4c55bb8
No related branches found
No related tags found
No related merge requests found
......@@ -112,6 +112,7 @@ void RegScavenger::enterBasicBlock(MachineBasicBlock *mbb) {
ScavengeRestore = NULL;
CurrDist = 0;
DistanceMap.clear();
ImplicitDefed.reset();
// All registers started out unused.
RegsAvailable.set();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment