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

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/lib/CodeGen/CodePlacementOpt.cpp

  • 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:
36
36
 
37
37
  public:
38
38
    static char ID;
39
 
    CodePlacementOpt() : MachineFunctionPass(&ID) {}
 
39
    CodePlacementOpt() : MachineFunctionPass(ID) {}
40
40
 
41
41
    virtual bool runOnMachineFunction(MachineFunction &MF);
42
42
    virtual const char *getPassName() const {
178
178
        continue;
179
179
 
180
180
      // Move the block.
 
181
      DEBUG(dbgs() << "CGP: Moving blocks starting at BB#" << Pred->getNumber()
 
182
                   << " to top of loop.\n");
181
183
      Changed = true;
182
184
 
183
185
      // Move it and all the blocks that can reach it via fallthrough edges
297
299
        continue;
298
300
 
299
301
      // Move the block.
 
302
      DEBUG(dbgs() << "CGP: Moving blocks starting at BB#" << BB->getNumber()
 
303
                   << " to be contiguous with loop.\n");
300
304
      Changed = true;
301
305
 
302
306
      // Process this block and all loop blocks contiguous with it, to keep