diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-05 23:29:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-05 23:29:51 +0000 |
commit | 19033bf7f8306131169e532c97e3ee4b745db221 (patch) | |
tree | 88dcb40812b735f75ec02571ba9e6e147d442cf0 /lib/CodeGen/MachineLoopInfo.cpp | |
parent | 200c57e8ea6456d5688307cfce3f4cbd8bf6ada7 (diff) |
make this build with newer gcc's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineLoopInfo.cpp')
-rw-r--r-- | lib/CodeGen/MachineLoopInfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/MachineLoopInfo.cpp b/lib/CodeGen/MachineLoopInfo.cpp index ad4ad1cea9..9900728d3e 100644 --- a/lib/CodeGen/MachineLoopInfo.cpp +++ b/lib/CodeGen/MachineLoopInfo.cpp @@ -17,14 +17,13 @@ #include "llvm/CodeGen/MachineLoopInfo.h" #include "llvm/CodeGen/MachineDominators.h" #include "llvm/CodeGen/Passes.h" - using namespace llvm; TEMPLATE_INSTANTIATION(class LoopBase<MachineBasicBlock>); TEMPLATE_INSTANTIATION(class LoopInfoBase<MachineBasicBlock>); +char MachineLoopInfo::ID = 0; namespace { - char MachineLoopInfo::ID = 0; RegisterPass<MachineLoopInfo> X("machine-loops", "Machine Natural Loop Construction", true); } |