diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-05 20:15:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-05 20:15:42 +0000 |
commit | 54b62f3af50ef93df05e9f7634b6e4406ab56cc5 (patch) | |
tree | 9fba90caa0fdeab9e5c279eb9cd771442402d2f1 /lib/CodeGen/MachineDominators.cpp | |
parent | 86737665b81550fdb575f7d8cc5decc801a7813d (diff) | |
download | external_llvm-54b62f3af50ef93df05e9f7634b6e4406ab56cc5.zip external_llvm-54b62f3af50ef93df05e9f7634b6e4406ab56cc5.tar.gz external_llvm-54b62f3af50ef93df05e9f7634b6e4406ab56cc5.tar.bz2 |
Fix build issue on certain compilers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineDominators.cpp')
-rw-r--r-- | lib/CodeGen/MachineDominators.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineDominators.cpp b/lib/CodeGen/MachineDominators.cpp index 7c521cc..9b53bdb 100644 --- a/lib/CodeGen/MachineDominators.cpp +++ b/lib/CodeGen/MachineDominators.cpp @@ -20,8 +20,9 @@ using namespace llvm; TEMPLATE_INSTANTIATION(class DomTreeNodeBase<MachineBasicBlock>); TEMPLATE_INSTANTIATION(class DominatorTreeBase<MachineBasicBlock>); +char MachineDominatorTree::ID = 0; + namespace { - char MachineDominatorTree::ID = 0; RegisterPass<MachineDominatorTree> E("machinedomtree", "MachineDominator Tree Construction", true); } |