Changes in directory llvm/lib/CodeGen:
MachineFunction.cpp updated: 1.110 -> 1.111 --- Log message: Change UsedPhysRegs from array bool to BitVector to save some space. Setting / getting its states now go through MachineFunction. --- Diffs of the changes: (+2 -2) MachineFunction.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/CodeGen/MachineFunction.cpp diff -u llvm/lib/CodeGen/MachineFunction.cpp:1.110 llvm/lib/CodeGen/MachineFunction.cpp:1.111 --- llvm/lib/CodeGen/MachineFunction.cpp:1.110 Tue Apr 24 23:20:02 2007 +++ llvm/lib/CodeGen/MachineFunction.cpp Wed Apr 25 17:10:09 2007 @@ -114,11 +114,12 @@ MachineFunction::MachineFunction(const Function *F, const TargetMachine &TM) - : Annotation(MF_AID), Fn(F), Target(TM), UsedPhysRegs(0) { + : Annotation(MF_AID), Fn(F), Target(TM) { SSARegMapping = new SSARegMap(); MFInfo = 0; FrameInfo = new MachineFrameInfo(); ConstantPool = new MachineConstantPool(TM.getTargetData()); + UsedPhysRegs.resize(TM.getRegisterInfo()->getNumRegs()); // Set up jump table. const TargetData &TD = *TM.getTargetData(); @@ -138,7 +139,6 @@ delete FrameInfo; delete ConstantPool; delete JumpTableInfo; - delete[] UsedPhysRegs; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits