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 | 7eac714b415024c7cf12e18845dbfd622576f12f (patch) | |
tree | 8e77ea7cf030f3712ae43c956e16f5caf0833500 /llvm/lib/CodeGen/MachineLoopInfo.cpp | |
parent | 7980bba5491441eb0c9a7300e8ea845ed46a667a (diff) | |
download | bcm5719-llvm-7eac714b415024c7cf12e18845dbfd622576f12f.tar.gz bcm5719-llvm-7eac714b415024c7cf12e18845dbfd622576f12f.zip |
make this build with newer gcc's
llvm-svn: 45637
Diffstat (limited to 'llvm/lib/CodeGen/MachineLoopInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineLoopInfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineLoopInfo.cpp b/llvm/lib/CodeGen/MachineLoopInfo.cpp index ad4ad1cea9e..9900728d3e9 100644 --- a/llvm/lib/CodeGen/MachineLoopInfo.cpp +++ b/llvm/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); } |