summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitd4549c5527b8698a53e239e6b502f7a6e5b7c73b (patch)
tree23ebb095dee08c0e8c5d47f18d4d3d802d03c279 /llvm/lib/CodeGen
parent157d7ee7e582abb1b1fa03c1175943cea8c77301 (diff)
downloadbcm5719-llvm-d4549c5527b8698a53e239e6b502f7a6e5b7c73b.tar.gz
bcm5719-llvm-d4549c5527b8698a53e239e6b502f7a6e5b7c73b.zip
Clean up.
llvm-svn: 36449
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/LiveVariables.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/LiveVariables.cpp b/llvm/lib/CodeGen/LiveVariables.cpp
index 19ea588cd03..a2b1703ce69 100644
--- a/llvm/lib/CodeGen/LiveVariables.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud