From: Evan Cheng Date: Wed, 25 Apr 2007 21:34:08 +0000 (+0000) Subject: Clean up. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ade31f9f07537502f68850d771678bfbef003c7e;p=oota-llvm.git Clean up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36449 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/LiveVariables.cpp b/lib/CodeGen/LiveVariables.cpp index 19ea588cd03..a2b1703ce69 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); }