X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTransforms%2FIPO%2FRaiseAllocations.cpp;h=58fd682eb7a098dab4495b07da8d6cb0be0a0a00;hb=7cbd8a3e92221437048b484d5ef9c0a22d0f8c58;hp=0931dec01055727176975c186b88d0cca1af089d;hpb=446efddfcd655131bd0ceeacce9c1166e30ed479;p=oota-llvm.git diff --git a/lib/Transforms/IPO/RaiseAllocations.cpp b/lib/Transforms/IPO/RaiseAllocations.cpp index 0931dec0105..58fd682eb7a 100644 --- a/lib/Transforms/IPO/RaiseAllocations.cpp +++ b/lib/Transforms/IPO/RaiseAllocations.cpp @@ -164,7 +164,7 @@ bool RaiseAllocations::runOnModule(Module &M) { // source size. if (Source->getType() != Type::Int32Ty) Source = - CastInst::createIntegerCast(Source, Type::Int32Ty, false/*ZExt*/, + CastInst::CreateIntegerCast(Source, Type::Int32Ty, false/*ZExt*/, "MallocAmtCast", I); MallocInst *MI = new MallocInst(Type::Int8Ty, Source, "", I);