diff options
author | Chris Lattner <sabre@nondot.org> | 2009-10-27 17:02:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-10-27 17:02:08 +0000 |
commit | 75c478a96a542dc386152e00518441e63d22058d (patch) | |
tree | 7cf253fccd0405217b70a63b29b68ff50d7d7e3e /lib | |
parent | 1995051395569397c1c2aa54177ae3b8535e53d8 (diff) | |
download | external_llvm-75c478a96a542dc386152e00518441e63d22058d.zip external_llvm-75c478a96a542dc386152e00518441e63d22058d.tar.gz external_llvm-75c478a96a542dc386152e00518441e63d22058d.tar.bz2 |
pseudosourcevalue is also still using getGlobalContext(), so it isn't
thread safe either.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85253 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/PseudoSourceValue.cpp | 1 | ||||
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/PseudoSourceValue.cpp b/lib/CodeGen/PseudoSourceValue.cpp index 2b5470e..1875cc7 100644 --- a/lib/CodeGen/PseudoSourceValue.cpp +++ b/lib/CodeGen/PseudoSourceValue.cpp @@ -14,6 +14,7 @@ #include "llvm/CodeGen/MachineFrameInfo.h" #include "llvm/CodeGen/PseudoSourceValue.h" #include "llvm/DerivedTypes.h" +#include "llvm/LLVMContext.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/ManagedStatic.h" #include "llvm/Support/raw_ostream.h" diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 72e7f58..8569e0c 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -26,6 +26,7 @@ #include "llvm/Instructions.h" #include "llvm/Intrinsics.h" #include "llvm/IntrinsicInst.h" +#include "llvm/LLVMContext.h" #include "llvm/CodeGen/FastISel.h" #include "llvm/CodeGen/GCStrategy.h" #include "llvm/CodeGen/GCMetadata.h" |