diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-29 18:55:55 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-29 18:55:55 +0000 |
commit | baf3c404409d5e47b13984a7f95bfbd6d1f2e79e (patch) | |
tree | c06618ee06936e7f5a1dc3c30b313ee49d5eb09b /tools/bugpoint/Miscompilation.cpp | |
parent | 26ef510d5d20b89c637d13e2d9169c0458de775c (diff) | |
download | external_llvm-baf3c404409d5e47b13984a7f95bfbd6d1f2e79e.zip external_llvm-baf3c404409d5e47b13984a7f95bfbd6d1f2e79e.tar.gz external_llvm-baf3c404409d5e47b13984a7f95bfbd6d1f2e79e.tar.bz2 |
Move ConstantExpr to 2.5 API.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77494 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/Miscompilation.cpp')
-rw-r--r-- | tools/bugpoint/Miscompilation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp index 310e2ac..74eaaa8 100644 --- a/tools/bugpoint/Miscompilation.cpp +++ b/tools/bugpoint/Miscompilation.cpp @@ -725,7 +725,7 @@ static void CleanupAndPrepareModules(BugDriver &BD, Module *&Test, // GetElementPtr *funcName, ulong 0, ulong 0 std::vector<Constant*> GEPargs(2, Context.getNullValue(Type::Int32Ty)); Value *GEP = - Context.getConstantExprGetElementPtr(funcName, &GEPargs[0], 2); + ConstantExpr::getGetElementPtr(funcName, &GEPargs[0], 2); std::vector<Value*> ResolverArgs; ResolverArgs.push_back(GEP); |