commit | 02b48c3be2112c64d8fc9cf5419c9c8d4ec30b71 | [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 | c9dc5497d5a4bba7ae3c26bdb25c7975739bc633 [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));