OSDN Git Service

pseudosourcevalue is also still using getGlobalContext(), so it isn't
authorChris Lattner <sabre@nondot.org>
Tue, 27 Oct 2009 17:02:08 +0000 (17:02 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 27 Oct 2009 17:02:08 +0000 (17:02 +0000)
thread safe either.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85253 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/PseudoSourceValue.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 2b5470e..1875cc7 100644 (file)
@@ -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"
index 72e7f58..8569e0c 100644 (file)
@@ -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"