From: Chris Lattner Date: Sat, 5 Jan 2008 20:15:42 +0000 (+0000) Subject: Fix build issue on certain compilers. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=54b62f3af50ef93df05e9f7634b6e4406ab56cc5;p=oota-llvm.git Fix build issue on certain compilers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45629 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/MachineDominators.cpp b/lib/CodeGen/MachineDominators.cpp index 7c521ccb0e8..9b53bdb8b3f 100644 --- a/lib/CodeGen/MachineDominators.cpp +++ b/lib/CodeGen/MachineDominators.cpp @@ -20,8 +20,9 @@ using namespace llvm; TEMPLATE_INSTANTIATION(class DomTreeNodeBase); TEMPLATE_INSTANTIATION(class DominatorTreeBase); +char MachineDominatorTree::ID = 0; + namespace { - char MachineDominatorTree::ID = 0; RegisterPass E("machinedomtree", "MachineDominator Tree Construction", true); }