aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-19 06:26:50 +0000
committerChris Lattner <sabre@nondot.org>2004-07-19 06:26:50 +0000
commit73d4adfb1e5d6c0ce834b331e6099b14d3341dd7 (patch)
treef129b109d86d41050e15a7bf8ccf054f06a9195c /include
parente312e156c3fd39481460f97b666e8fb5eca13346 (diff)
downloadexternal_llvm-73d4adfb1e5d6c0ce834b331e6099b14d3341dd7.zip
external_llvm-73d4adfb1e5d6c0ce834b331e6099b14d3341dd7.tar.gz
external_llvm-73d4adfb1e5d6c0ce834b331e6099b14d3341dd7.tar.bz2
Remove the DefBlock element of VarInfo. DefBlock is always DefInst->getParent()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14996 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/LiveVariables.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/LiveVariables.h b/include/llvm/CodeGen/LiveVariables.h
index 67c213d..1df98e5 100644
--- a/include/llvm/CodeGen/LiveVariables.h
+++ b/include/llvm/CodeGen/LiveVariables.h
@@ -39,8 +39,7 @@ class MRegisterInfo;
class LiveVariables : public MachineFunctionPass {
public:
struct VarInfo {
- /// DefBlock - The basic block which defines this value...
- MachineBasicBlock *DefBlock;
+ /// DefInst - The machine instruction that defines this register.
MachineInstr *DefInst;
/// AliveBlocks - Set of blocks of which this value is alive completely
@@ -55,7 +54,7 @@ public:
///
std::vector<std::pair<MachineBasicBlock*, MachineInstr*> > Kills;
- VarInfo() : DefBlock(0), DefInst(0) {}
+ VarInfo() : DefInst(0) {}
/// removeKill - Delete a kill corresponding to the specified
/// machine instruction. Returns true if there was a kill