[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveInterval.h
Jeff Cohen
jeffc at jolt-lang.org
Thu Jan 26 12:41:47 PST 2006
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
More information about the llvm-commits
mailing list