From: Zhongxing Xu Date: Mon, 9 Aug 2010 03:43:39 +0000 (+0000) Subject: Change the Interval type to signed in ImmutableIntervalMap.h. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ba575092218a93f38273c8c72560cef3300177af;p=oota-llvm.git 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 --- diff --git a/include/llvm/ADT/ImmutableIntervalMap.h b/include/llvm/ADT/ImmutableIntervalMap.h index 7aa315570f7..968ce152779 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