X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FIR%2FInstructions.cpp;h=1c831ccd2892a865da4f2d032d76a0a9fa4e1169;hp=85b7521f31655d76ade65ebbbd372ee94513a434;hb=0f0d21e869726c947c958702f6db000e016203ce;hpb=35df664ee64465bcad08259ef4d2c716ba7c34ff diff --git a/lib/IR/Instructions.cpp b/lib/IR/Instructions.cpp index 85b7521f316..1c831ccd289 100644 --- a/lib/IR/Instructions.cpp +++ b/lib/IR/Instructions.cpp @@ -945,9 +945,9 @@ LoadInst::LoadInst(Value *Ptr, const Twine &Name, bool isVolatile, BasicBlock *InsertAE) : LoadInst(Ptr, Name, isVolatile, /*Align=*/0, InsertAE) {} -LoadInst::LoadInst(Value *Ptr, const Twine &Name, bool isVolatile, +LoadInst::LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile, unsigned Align, Instruction *InsertBef) - : LoadInst(Ptr, Name, isVolatile, Align, NotAtomic, CrossThread, + : LoadInst(Ty, Ptr, Name, isVolatile, Align, NotAtomic, CrossThread, InsertBef) {} LoadInst::LoadInst(Value *Ptr, const Twine &Name, bool isVolatile,