diff --git a/include/llvm/Support/IRBuilder.h b/include/llvm/Support/IRBuilder.h index ee2d4ed051b..4080f902062 100644 --- a/include/llvm/Support/IRBuilder.h +++ b/include/llvm/Support/IRBuilder.h @@ -130,7 +130,7 @@ public: /// Insert - Insert and return the specified instruction. template InstTy *Insert(InstTy *I, const Twine &Name = "") const { - InsertHelper(I, Name, BB, InsertPt); + this->InsertHelper(I, Name, BB, InsertPt); return I; }