Revert r134893 and r134888 (and related patches in other trees). It was causing
[oota-llvm.git] / unittests / ExecutionEngine / JIT / JITMemoryManagerTest.cpp
index 039b5e00f2e65088efe373bad2e6b96b850e566b..0bc1966781d6199da3229155e3ceb5496e9d982f 100644 (file)
@@ -21,7 +21,7 @@ using namespace llvm;
 namespace {
 
 Function *makeFakeFunction() {
-  std::vector<Type*> params;
+  std::vector<const Type*> params;
   const FunctionType *FTy =
       FunctionType::get(Type::getVoidTy(getGlobalContext()), params, false);
   return Function::Create(FTy, GlobalValue::ExternalLinkage);