diff options
author | Dan Gohman <gohman@apple.com> | 2008-12-19 00:46:20 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-12-19 00:46:20 +0000 |
commit | 8c82a8a984b68c1c44116b0d3edf1dc9daa5c762 (patch) | |
tree | 0d5cff82c21e17e5217262da1b9543149173847c /llvm/lib/CodeGen | |
parent | b4c55bb857d41fb7064cb9c458b9f93a66cfab61 (diff) | |
download | bcm5719-llvm-8c82a8a984b68c1c44116b0d3edf1dc9daa5c762.tar.gz bcm5719-llvm-8c82a8a984b68c1c44116b0d3edf1dc9daa5c762.zip |
Initialize the ImplicitDefed member, to avoid getting stale
data from a previous block.
llvm-svn: 61237
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/RegisterScavenging.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegisterScavenging.cpp b/llvm/lib/CodeGen/RegisterScavenging.cpp index 5a4bedc2bee..add639a9671 100644 --- a/llvm/lib/CodeGen/RegisterScavenging.cpp +++ b/llvm/lib/CodeGen/RegisterScavenging.cpp @@ -112,6 +112,7 @@ void RegScavenger::enterBasicBlock(MachineBasicBlock *mbb) { ScavengeRestore = NULL; CurrDist = 0; DistanceMap.clear(); + ImplicitDefed.reset(); // All registers started out unused. RegsAvailable.set(); |