From: Chris Lattner Date: Mon, 7 Oct 2002 17:13:22 +0000 (+0000) Subject: Fix bug in last checkin X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=8f1717f6970039ebad57754e548237bac7d0d871;p=oota-llvm.git Fix bug in last checkin git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4058 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/CFG.h b/include/llvm/Support/CFG.h index 0e48ef506ad..8b68627201d 100644 --- a/include/llvm/Support/CFG.h +++ b/include/llvm/Support/CFG.h @@ -104,6 +104,7 @@ public: inline const _Self &operator=(const _Self &I) { assert(Term == I.Term &&"Cannot assign iterators to two different blocks!"); idx = I.idx; + return *this; } inline bool operator==(const _Self& x) const { return idx == x.idx; }