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/Transforms/Utils/InlineFunction.cpp b/lib/Transforms/Utils/InlineFunction.cpp index 16d8879..cdde678 100644 --- a/lib/Transforms/Utils/InlineFunction.cpp +++ b/lib/Transforms/Utils/InlineFunction.cpp
@@ -322,7 +322,7 @@ Value *Size; if (TD == 0) - Size = Context.getConstantExprSizeOf(AggTy); + Size = ConstantExpr::getSizeOf(AggTy); else Size = ConstantInt::get(Type::Int64Ty, TD->getTypeStoreSize(AggTy));