commit | 487375e9a2c9bd64869aab778ef26770ed4bef67 | [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 | c6360f5a96c7c7ced626d13ed8c98de3f99391ec | |
parent | ade90fd1ba0c99780076c11ff0a23c2aa5319228 [diff] [blame] |
Move ConstantExpr to 2.5 API. llvm-svn: 77494
diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp index 16d8879..cdde678 100644 --- a/llvm/lib/Transforms/Utils/InlineFunction.cpp +++ b/llvm/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));