The variable liTRC is not used for anything useful, zap it

(gcc-4.6 warning).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117022 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2010-10-21 16:04:43 +00:00
parent 6abfa46987
commit 9bc20ca728

View File

@ -463,14 +463,9 @@ namespace llvm {
liItr != liEnd; ++liItr) {
LiveInterval *li = liItr->second;
const TargetRegisterClass *liTRC;
if (TargetRegisterInfo::isPhysicalRegister(li->reg))
continue;
liTRC = mri->getRegClass(li->reg);
// For all ranges in the current interal.
for (LiveInterval::iterator lrItr = li->begin(),
lrEnd = li->end();