diff --git a/lib/Linker/LinkModules.cpp b/lib/Linker/LinkModules.cpp index d5df566d6d3..5e0178ae6d7 100644 --- a/lib/Linker/LinkModules.cpp +++ b/lib/Linker/LinkModules.cpp @@ -16,6 +16,7 @@ #include "llvm/SymbolTable.h" #include "llvm/DerivedTypes.h" #include "llvm/iOther.h" +#include "llvm/ConstPoolVals.h" // Error - Simple wrapper function to conditionally assign to E and return true. // This just makes error return conditions a little bit simpler... diff --git a/lib/Transforms/Utils/Linker.cpp b/lib/Transforms/Utils/Linker.cpp index d5df566d6d3..5e0178ae6d7 100644 --- a/lib/Transforms/Utils/Linker.cpp +++ b/lib/Transforms/Utils/Linker.cpp @@ -16,6 +16,7 @@ #include "llvm/SymbolTable.h" #include "llvm/DerivedTypes.h" #include "llvm/iOther.h" +#include "llvm/ConstPoolVals.h" // Error - Simple wrapper function to conditionally assign to E and return true. // This just makes error return conditions a little bit simpler... diff --git a/lib/Transforms/Utils/LowerAllocations.cpp b/lib/Transforms/Utils/LowerAllocations.cpp index 91f45d82069..2385fee7aa6 100644 --- a/lib/Transforms/Utils/LowerAllocations.cpp +++ b/lib/Transforms/Utils/LowerAllocations.cpp @@ -13,6 +13,7 @@ #include "llvm/iMemory.h" #include "llvm/iOther.h" #include "llvm/SymbolTable.h" +#include "llvm/ConstPoolVals.h" // doPassInitialization - For the lower allocations pass, this ensures that a // module contains a declaration for a malloc and a free function. diff --git a/lib/VMCore/Linker.cpp b/lib/VMCore/Linker.cpp index d5df566d6d3..5e0178ae6d7 100644 --- a/lib/VMCore/Linker.cpp +++ b/lib/VMCore/Linker.cpp @@ -16,6 +16,7 @@ #include "llvm/SymbolTable.h" #include "llvm/DerivedTypes.h" #include "llvm/iOther.h" +#include "llvm/ConstPoolVals.h" // Error - Simple wrapper function to conditionally assign to E and return true. // This just makes error return conditions a little bit simpler... diff --git a/lib/VMCore/Module.cpp b/lib/VMCore/Module.cpp index 7f5e3e246ab..bb5e5b5a25c 100644 --- a/lib/VMCore/Module.cpp +++ b/lib/VMCore/Module.cpp @@ -12,6 +12,7 @@ #include "llvm/ValueHolderImpl.h" #include "llvm/Support/STLExtras.h" #include "llvm/Type.h" +#include "llvm/ConstPoolVals.h" #include // Instantiate Templates - This ugliness is the price we have to pay