aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-05-08 19:00:00 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-05-08 19:00:00 +0000
commit56184904cd9a348920de0c3b391d42b691091137 (patch)
tree5ae04c7ecc22660c88f880749fa045cea2820806 /include
parent6603d7ec67e64b987451975771759ade4e9f19ba (diff)
downloadexternal_llvm-56184904cd9a348920de0c3b391d42b691091137.zip
external_llvm-56184904cd9a348920de0c3b391d42b691091137.tar.gz
external_llvm-56184904cd9a348920de0c3b391d42b691091137.tar.bz2
Eliminate MarkVirtRegAliveInBlock recursion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36943 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/LiveVariables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/LiveVariables.h b/include/llvm/CodeGen/LiveVariables.h
index 3a5a583..c1a4f4e 100644
--- a/include/llvm/CodeGen/LiveVariables.h
+++ b/include/llvm/CodeGen/LiveVariables.h
@@ -283,6 +283,8 @@ public:
VarInfo &getVarInfo(unsigned RegIdx);
void MarkVirtRegAliveInBlock(VarInfo &VRInfo, MachineBasicBlock *BB);
+ void MarkVirtRegAliveInBlock(VarInfo &VRInfo, MachineBasicBlock *BB,
+ std::vector<MachineBasicBlock*> &WorkList);
void HandleVirtRegUse(VarInfo &VRInfo, MachineBasicBlock *MBB,
MachineInstr *MI);
};