diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-04-25 21:34:08 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-04-25 21:34:08 +0000 |
commit | ade31f9f07537502f68850d771678bfbef003c7e (patch) | |
tree | 10831ab190bffc671f177c349e4549ca77c6f3e5 /lib/CodeGen/LiveVariables.cpp | |
parent | 3f3a17dd620210320ac4d0090fcf9a2f58c25b00 (diff) |
Clean up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36449 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveVariables.cpp')
-rw-r--r-- | lib/CodeGen/LiveVariables.cpp | 4 |
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); } |