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
This commit is contained in:
Zhongxing Xu 2010-08-09 03:43:39 +00:00
parent c2d868875e
commit ba57509221

View File

@ -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>