diff options
author | Dan Gohman <gohman@apple.com> | 2009-07-31 01:52:50 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-07-31 01:52:50 +0000 |
commit | bcb44baa5750b5a36ff0cb3c65a34aec5ca691ec (patch) | |
tree | 6c503ae8238750a702365d095a9b58c48b7dd356 /llvm/lib/CodeGen/LiveVariables.cpp | |
parent | dfbd0c4b0db17f50054dd7ce0d76cec48445780f (diff) | |
download | llvm-bcb44baa5750b5a36ff0cb3c65a34aec5ca691ec.zip llvm-bcb44baa5750b5a36ff0cb3c65a34aec5ca691ec.tar.gz llvm-bcb44baa5750b5a36ff0cb3c65a34aec5ca691ec.tar.bz2 |
Manage MachineFunctions with an analysis Pass instead of the Annotable
mechanism. To support this, make MachineFunctionPass a little more
complete.
llvm-svn: 77654
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveVariables.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveVariables.cpp b/llvm/lib/CodeGen/LiveVariables.cpp index bb72d80..2034566 100644 --- a/llvm/lib/CodeGen/LiveVariables.cpp +++ b/llvm/lib/CodeGen/LiveVariables.cpp @@ -48,6 +48,7 @@ static RegisterPass<LiveVariables> X("livevars", "Live Variable Analysis"); void LiveVariables::getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequiredID(UnreachableMachineBlockElimID); AU.setPreservesAll(); + MachineFunctionPass::getAnalysisUsage(AU); } void LiveVariables::VarInfo::dump() const { |