land David Blaikie's patch to de-constify Type, with a few tweaks.
[oota-llvm.git] / unittests / ExecutionEngine / JIT / JITMemoryManagerTest.cpp
index 039b5e00f2e65088efe373bad2e6b96b850e566b..be5d152c1c5165f43a23adea5832aae143421472 100644 (file)
@@ -22,7 +22,7 @@ namespace {
 
 Function *makeFakeFunction() {
   std::vector<Type*> params;
-  const FunctionType *FTy =
+  FunctionType *FTy =
       FunctionType::get(Type::getVoidTy(getGlobalContext()), params, false);
   return Function::Create(FTy, GlobalValue::ExternalLinkage);
 }