From 7eac714b415024c7cf12e18845dbfd622576f12f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 5 Jan 2008 23:29:51 +0000 Subject: make this build with newer gcc's llvm-svn: 45637 --- llvm/lib/CodeGen/MachineLoopInfo.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/MachineLoopInfo.cpp') diff --git a/llvm/lib/CodeGen/MachineLoopInfo.cpp b/llvm/lib/CodeGen/MachineLoopInfo.cpp index ad4ad1c..9900728 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); TEMPLATE_INSTANTIATION(class LoopInfoBase); +char MachineLoopInfo::ID = 0; namespace { - char MachineLoopInfo::ID = 0; RegisterPass X("machine-loops", "Machine Natural Loop Construction", true); } -- cgit v1.1