[llvm-commits] [llvm] r110562 - /llvm/trunk/include/llvm/ADT/ImmutableIntervalMap.h
Zhongxing Xu
xuzhongxing at gmail.com
Sun Aug 8 20:43:39 PDT 2010
Author: zhongxingxu
Date: Sun Aug 8 22:43:39 2010
New Revision: 110562
URL: http://llvm.org/viewvc/llvm-project?rev=110562&view=rev
Log:
Change the Interval type to signed in ImmutableIntervalMap.h.
Modified:
llvm/trunk/include/llvm/ADT/ImmutableIntervalMap.h
Modified: llvm/trunk/include/llvm/ADT/ImmutableIntervalMap.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/ImmutableIntervalMap.h?rev=110562&r1=110561&r2=110562&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/ImmutableIntervalMap.h (original)
+++ llvm/trunk/include/llvm/ADT/ImmutableIntervalMap.h Sun Aug 8 22:43:39 2010
@@ -16,14 +16,14 @@
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>
More information about the llvm-commits
mailing list