~ubuntu-branches/ubuntu/natty/clamav/natty-security

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/include/llvm/CodeGen/LiveStackAnalysis.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-12-02 21:04:10 UTC
  • mfrom: (0.35.17 sid)
  • Revision ID: james.westby@ubuntu.com-20101202210410-ppgyckmylngsfa8o
Tags: 0.96.5+dfsg-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop initial signature definitions from clamav-base
  - Drop build-dep on electric-fence (in Universe)
  - Add apparmor profiles for clamd and freshclam along with maintainer
    script changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
  class LiveStacks : public MachineFunctionPass {
28
28
    /// Special pool allocator for VNInfo's (LiveInterval val#).
29
29
    ///
30
 
    BumpPtrAllocator VNInfoAllocator;
 
30
    VNInfo::Allocator VNInfoAllocator;
31
31
 
32
32
    /// S2IMap - Stack slot indices to live interval mapping.
33
33
    ///
39
39
    
40
40
  public:
41
41
    static char ID; // Pass identification, replacement for typeid
42
 
    LiveStacks() : MachineFunctionPass(&ID) {}
 
42
    LiveStacks() : MachineFunctionPass(ID) {}
43
43
 
44
44
    typedef SS2IntervalMap::iterator iterator;
45
45
    typedef SS2IntervalMap::const_iterator const_iterator;
91
91
      return I->second;
92
92
    }
93
93
 
94
 
    BumpPtrAllocator& getVNInfoAllocator() { return VNInfoAllocator; }
 
94
    VNInfo::Allocator& getVNInfoAllocator() { return VNInfoAllocator; }
95
95
 
96
96
    virtual void getAnalysisUsage(AnalysisUsage &AU) const;
97
97
    virtual void releaseMemory();