mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
remove use of deprecated apis
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34418 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ec1f752ae4
commit
00f59da1df
@ -702,8 +702,7 @@ static void CleanupAndPrepareModules(BugDriver &BD, Module *&Test,
|
||||
|
||||
// GetElementPtr *funcName, ulong 0, ulong 0
|
||||
std::vector<Constant*> GEPargs(2,Constant::getNullValue(Type::Int32Ty));
|
||||
Value *GEP =
|
||||
ConstantExpr::getGetElementPtr(funcName, GEPargs);
|
||||
Value *GEP = ConstantExpr::getGetElementPtr(funcName, &GEPargs[0], 2);
|
||||
std::vector<Value*> ResolverArgs;
|
||||
ResolverArgs.push_back(GEP);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user