diff --git a/include/llvm/ADT/ilist.h b/include/llvm/ADT/ilist.h index b3824a217c7..e4d26ddfa50 100644 --- a/include/llvm/ADT/ilist.h +++ b/include/llvm/ADT/ilist.h @@ -643,7 +643,7 @@ struct ilist : public iplist { // Main implementation here - Insert for a node passed by value... iterator insert(iterator where, const NodeTy &val) { - return insert(where, createNode(val)); + return insert(where, this->createNode(val)); }