aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-04-25 21:34:08 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-04-25 21:34:08 +0000
commitade31f9f07537502f68850d771678bfbef003c7e (patch)
tree10831ab190bffc671f177c349e4549ca77c6f3e5 /lib/CodeGen
parent3f3a17dd620210320ac4d0090fcf9a2f58c25b00 (diff)
downloadexternal_llvm-ade31f9f07537502f68850d771678bfbef003c7e.zip
external_llvm-ade31f9f07537502f68850d771678bfbef003c7e.tar.gz
external_llvm-ade31f9f07537502f68850d771678bfbef003c7e.tar.bz2
Clean up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36449 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-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 19ea588..a2b1703 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);
}