diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-04-18 05:04:38 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-04-18 05:04:38 +0000 |
commit | f44c72817e3a7f517ad796705effb8d59e6a6dfa (patch) | |
tree | e16e9c042e55f03c3d984eb66d9c36cc23a4f7a2 /lib/CodeGen/TwoAddressInstructionPass.cpp | |
parent | ca2563d2d8719ba719b09b45ea77915ac88a2328 (diff) |
VarInfo::UsedBlocks is no longer used. Remove.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TwoAddressInstructionPass.cpp')
-rw-r--r-- | lib/CodeGen/TwoAddressInstructionPass.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/CodeGen/TwoAddressInstructionPass.cpp b/lib/CodeGen/TwoAddressInstructionPass.cpp index 9209420e3e..b14a95e406 100644 --- a/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/lib/CodeGen/TwoAddressInstructionPass.cpp @@ -197,10 +197,6 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) { LiveVariables::VarInfo& varInfo = LV.getVarInfo(regA); varInfo.DefInst = prevMi; - // update live variables for regB - LiveVariables::VarInfo& varInfoB = LV.getVarInfo(regB); - // regB is used in this BB. - varInfoB.UsedBlocks[mbbi->getNumber()] = true; if (LV.removeVirtualRegisterKilled(regB, mbbi, mi)) LV.addVirtualRegisterKilled(regB, prevMi); |