Changes in directory llvm/lib/Transforms/Utils:
LowerInvoke.cpp updated: 1.54 -> 1.55 --- Log message: eliminate use of deprecated apis --- Diffs of the changes: (+2 -2) LowerInvoke.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Transforms/Utils/LowerInvoke.cpp diff -u llvm/lib/Transforms/Utils/LowerInvoke.cpp:1.54 llvm/lib/Transforms/Utils/LowerInvoke.cpp:1.55 --- llvm/lib/Transforms/Utils/LowerInvoke.cpp:1.54 Mon Feb 12 20:10:56 2007 +++ llvm/lib/Transforms/Utils/LowerInvoke.cpp Mon Feb 19 01:34:47 2007 @@ -166,7 +166,7 @@ GlobalValue::InternalLinkage, Msg, "abortmsg", M); std::vector<Constant*> GEPIdx(2, Constant::getNullValue(Type::Int32Ty)); - AbortMessage = ConstantExpr::getGetElementPtr(MsgGV, GEPIdx); + AbortMessage = ConstantExpr::getGetElementPtr(MsgGV, &GEPIdx[0], 2); } else { // The abort message for cheap EH support tells the user that EH is not // enabled. @@ -179,7 +179,7 @@ GlobalValue::InternalLinkage, Msg, "abortmsg", M); std::vector<Constant*> GEPIdx(2, Constant::getNullValue(Type::Int32Ty)); - AbortMessage = ConstantExpr::getGetElementPtr(MsgGV, GEPIdx); + AbortMessage = ConstantExpr::getGetElementPtr(MsgGV, &GEPIdx[0], 2); } } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits