aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-07 17:13:22 +0000
committerChris Lattner <sabre@nondot.org>2002-10-07 17:13:22 +0000
commit8f1717f6970039ebad57754e548237bac7d0d871 (patch)
treed6c1b844fa0ebaf1d86e9d16fd50879c85f6bf71 /include
parente423406e6a36d1b8c293acc7199d284033a3823d (diff)
downloadexternal_llvm-8f1717f6970039ebad57754e548237bac7d0d871.zip
external_llvm-8f1717f6970039ebad57754e548237bac7d0d871.tar.gz
external_llvm-8f1717f6970039ebad57754e548237bac7d0d871.tar.bz2
Fix bug in last checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4058 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/CFG.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/CFG.h b/include/llvm/Support/CFG.h
index 0e48ef5..8b68627 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; }