commit | 5fdd6c8793462549e3593890ec61573da06e3346 | [log] [tgz] |
---|---|---|
author | Jay Foad <jay.foad@gmail.com> | Tue Jul 12 14:06:48 2011 +0000 |
committer | Jay Foad <jay.foad@gmail.com> | Tue Jul 12 14:06:48 2011 +0000 |
tree | 895067e740b3c6f2f97805443c61195cf8de169a | |
parent | d475c105080cc5082ca8b8e87c89fa7c2dade39e [diff] [blame] |
Second attempt at de-constifying LLVM Types in FunctionType::get(), StructType::get() and TargetData::getIntPtrType(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134982 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp b/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp index 0bc1966..039b5e0 100644 --- a/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp +++ b/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp
@@ -21,7 +21,7 @@ namespace { Function *makeFakeFunction() { - std::vector<const Type*> params; + std::vector<Type*> params; const FunctionType *FTy = FunctionType::get(Type::getVoidTy(getGlobalContext()), params, false); return Function::Create(FTy, GlobalValue::ExternalLinkage);