summaryrefslogtreecommitdiff
path: root/lib/CodeGen/GCStrategy.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-10-23 06:19:46 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-10-23 06:19:46 +0000
commitc1f7ae15bb970b347ddeb80d4474f7e7f2099a60 (patch)
tree60bb17cd7f865f2db32296286649b75c0cc54bd2 /lib/CodeGen/GCStrategy.cpp
parentc97410eed21948f6ff1caa187e1ad4f924553733 (diff)
downloadllvm-c1f7ae15bb970b347ddeb80d4474f7e7f2099a60.tar.gz
llvm-c1f7ae15bb970b347ddeb80d4474f7e7f2099a60.tar.bz2
llvm-c1f7ae15bb970b347ddeb80d4474f7e7f2099a60.tar.xz
Per the C++ standard, we need to include the definition of llvm::Calculate in
every TU where it's implicitly instantiated, even if there's an implicit instantiation for the same types available in another TU. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166470 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/GCStrategy.cpp')
-rw-r--r--lib/CodeGen/GCStrategy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/GCStrategy.cpp b/lib/CodeGen/GCStrategy.cpp
index 506b5cf094..8de541de3d 100644
--- a/lib/CodeGen/GCStrategy.cpp
+++ b/lib/CodeGen/GCStrategy.cpp
@@ -20,6 +20,7 @@
#include "llvm/IntrinsicInst.h"
#include "llvm/Module.h"
#include "llvm/Analysis/Dominators.h"
+#include "llvm/Analysis/DominatorInternals.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"