diff options
| author | Roman Divacky <rdivacky@FreeBSD.org> | 2009-11-04 14:58:56 +0000 | 
|---|---|---|
| committer | Roman Divacky <rdivacky@FreeBSD.org> | 2009-11-04 14:58:56 +0000 | 
| commit | 36bf506ad3c99a309ca8bd73bd03563d8d068ac0 (patch) | |
| tree | b4dc751bcee540346911aa4115729eff2f991657 /lib/CodeGen/LiveStackAnalysis.cpp | |
| parent | f9666f9b3a3d26810deae8cd54feb6e47ecee61a (diff) | |
Notes
Diffstat (limited to 'lib/CodeGen/LiveStackAnalysis.cpp')
| -rw-r--r-- | lib/CodeGen/LiveStackAnalysis.cpp | 9 | 
1 files changed, 2 insertions, 7 deletions
| diff --git a/lib/CodeGen/LiveStackAnalysis.cpp b/lib/CodeGen/LiveStackAnalysis.cpp index a7bea1fd4f98..d2f3775288c5 100644 --- a/lib/CodeGen/LiveStackAnalysis.cpp +++ b/lib/CodeGen/LiveStackAnalysis.cpp @@ -27,15 +27,10 @@ using namespace llvm;  char LiveStacks::ID = 0;  static RegisterPass<LiveStacks> X("livestacks", "Live Stack Slot Analysis"); -void LiveStacks::scaleNumbering(int factor) { -  // Scale the intervals. -  for (iterator LI = begin(), LE = end(); LI != LE; ++LI) { -    LI->second.scaleNumbering(factor); -  } -} -  void LiveStacks::getAnalysisUsage(AnalysisUsage &AU) const {    AU.setPreservesAll(); +  AU.addPreserved<SlotIndexes>(); +  AU.addRequiredTransitive<SlotIndexes>();    MachineFunctionPass::getAnalysisUsage(AU);  } | 
