Changes in directory llvm/include/llvm/CodeGen:
LiveInterval.h updated: 1.15 -> 1.16 --- Log message: Improve compatibility with VC2005, patch by Morten Ofstad! --- Diffs of the changes: (+3 -0) LiveInterval.h | 3 +++ 1 files changed, 3 insertions(+) Index: llvm/include/llvm/CodeGen/LiveInterval.h diff -u llvm/include/llvm/CodeGen/LiveInterval.h:1.15 llvm/include/llvm/CodeGen/LiveInterval.h:1.16 --- llvm/include/llvm/CodeGen/LiveInterval.h:1.15 Thu Oct 20 02:37:59 2005 +++ llvm/include/llvm/CodeGen/LiveInterval.h Thu Jan 26 14:41:32 2006 @@ -64,6 +64,9 @@ return V < LR.start; } + inline bool operator<(const LiveRange &LR, unsigned V) { + return LR.start < V; + } /// LiveInterval - This class represents some number of live ranges for a /// register or value. This class also contains a bit of register allocator _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits