diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-08-09 03:43:39 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-08-09 03:43:39 +0000 |
commit | ba575092218a93f38273c8c72560cef3300177af (patch) | |
tree | b2771a49e0e34b6f5b2d8b0102e3be3ee137fbc4 /include/llvm/ADT | |
parent | c2d868875e73d6c8b2997ff5f63109954ba7ab59 (diff) | |
download | external_llvm-ba575092218a93f38273c8c72560cef3300177af.zip external_llvm-ba575092218a93f38273c8c72560cef3300177af.tar.gz external_llvm-ba575092218a93f38273c8c72560cef3300177af.tar.bz2 |
Change the Interval type to signed in ImmutableIntervalMap.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110562 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r-- | include/llvm/ADT/ImmutableIntervalMap.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/ADT/ImmutableIntervalMap.h b/include/llvm/ADT/ImmutableIntervalMap.h index 7aa3155..968ce15 100644 --- a/include/llvm/ADT/ImmutableIntervalMap.h +++ b/include/llvm/ADT/ImmutableIntervalMap.h @@ -16,14 +16,14 @@ namespace llvm { class Interval { private: - uint64_t Start; - uint64_t End; + int64_t Start; + int64_t End; public: - Interval(uint64_t S, uint64_t E) : Start(S), End(E) {} + Interval(int64_t S, int64_t E) : Start(S), End(E) {} - uint64_t getStart() const { return Start; } - uint64_t getEnd() const { return End; } + int64_t getStart() const { return Start; } + int64_t getEnd() const { return End; } }; template <typename T> |