aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Value.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Value.h')
-rw-r--r--include/llvm/Value.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h
index ab1707884f..2e618a5e86 100644
--- a/include/llvm/Value.h
+++ b/include/llvm/Value.h
@@ -89,8 +89,9 @@ public:
//
typedef UseListIteratorWrapper use_iterator;
typedef UseListConstIteratorWrapper use_const_iterator;
+ typedef iplist<Use>::size_type size_type;
- unsigned use_size() const { return Uses.size(); }
+ size_type use_size() const { return Uses.size(); }
bool use_empty() const { return Uses.empty(); }
use_iterator use_begin() { return Uses.begin(); }
use_const_iterator use_begin() const { return Uses.begin(); }