commit | baf3c404409d5e47b13984a7f95bfbd6d1f2e79e | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Wed Jul 29 18:55:55 2009 +0000 |
committer | Owen Anderson <resistor@mac.com> | Wed Jul 29 18:55:55 2009 +0000 |
tree | c06618ee06936e7f5a1dc3c30b313ee49d5eb09b | |
parent | 26ef510d5d20b89c637d13e2d9169c0458de775c [diff] [blame] |
Move ConstantExpr to 2.5 API. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77494 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ExecutionEngine/JIT/JIT.cpp b/lib/ExecutionEngine/JIT/JIT.cpp index 444ef3c..9f60954 100644 --- a/lib/ExecutionEngine/JIT/JIT.cpp +++ b/lib/ExecutionEngine/JIT/JIT.cpp
@@ -507,7 +507,7 @@ else C = ConstantInt::get(Type::Int64Ty, (intptr_t)ArgPtr); // Cast the integer to pointer - C = Context.getConstantExprIntToPtr(C, ArgTy); + C = ConstantExpr::getIntToPtr(C, ArgTy); break; } Args.push_back(C);