diff --git a/llvm/lib/Transforms/Scalar/LowerAllocations.cpp b/llvm/lib/Transforms/Scalar/LowerAllocations.cpp index 91f45d820695..2385fee7aa62 100644 --- a/llvm/lib/Transforms/Scalar/LowerAllocations.cpp +++ b/llvm/lib/Transforms/Scalar/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/llvm/lib/Transforms/Utils/Linker.cpp b/llvm/lib/Transforms/Utils/Linker.cpp index d5df566d6d3c..5e0178ae6d77 100644 --- a/llvm/lib/Transforms/Utils/Linker.cpp +++ b/llvm/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/llvm/lib/VMCore/Module.cpp b/llvm/lib/VMCore/Module.cpp index 7f5e3e246ab3..bb5e5b5a25c0 100644 --- a/llvm/lib/VMCore/Module.cpp +++ b/llvm/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