summaryrefslogtreecommitdiffstats
path: root/include/llvm/Value.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-06-07 16:58:36 +0000
committerChris Lattner <sabre@nondot.org>2001-06-07 16:58:36 +0000
commitbbcfc51f3b2c483a8212205dbfae3b59400b306d (patch)
tree958fd67decec4388fbedac48dd590991327ac9cd /include/llvm/Value.h
parent753bfecb77f908aa45d58cab7107a2730cc38d65 (diff)
downloadexternal_llvm-bbcfc51f3b2c483a8212205dbfae3b59400b306d.zip
external_llvm-bbcfc51f3b2c483a8212205dbfae3b59400b306d.tar.gz
external_llvm-bbcfc51f3b2c483a8212205dbfae3b59400b306d.tar.bz2
Fixes for BB iterators, additional methods added for DCE pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Value.h')
-rw-r--r--include/llvm/Value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h
index d751eb1..b10ea95 100644
--- a/include/llvm/Value.h
+++ b/include/llvm/Value.h
@@ -65,7 +65,7 @@ public:
typedef list<User*>::iterator use_iterator;
typedef list<User*>::const_iterator use_const_iterator;
- inline bool use_size() const { return Uses.size(); }
+ inline unsigned use_size() const { return Uses.size(); }
inline bool use_empty() const { return Uses.empty(); }
inline use_iterator use_begin() { return Uses.begin(); }
inline use_const_iterator use_begin() const { return Uses.begin(); }