aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveVariables.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/LiveVariables.cpp')
-rw-r--r--lib/CodeGen/LiveVariables.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/CodeGen/LiveVariables.cpp b/lib/CodeGen/LiveVariables.cpp
index 19ea588cd0..a2b1703ce6 100644
--- a/lib/CodeGen/LiveVariables.cpp
+++ b/lib/CodeGen/LiveVariables.cpp
@@ -438,10 +438,8 @@ bool LiveVariables::runOnMachineFunction(MachineFunction &mf) {
HandlePhysRegDef(i, 0);
// Clear some states between BB's. These are purely local information.
- for (unsigned i = 0; i != NumRegs; ++i) {
+ for (unsigned i = 0; i != NumRegs; ++i)
PhysRegPartDef[i].clear();
- //PhysRegPartUse[i] = NULL;
- }
std::fill(PhysRegPartUse, PhysRegPartUse + NumRegs, (MachineInstr*)0);
}