[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveInterval.h
Chris Lattner
lattner at cs.uiuc.edu
Thu Aug 31 23:57:49 PDT 2006
Changes in directory llvm/include/llvm/CodeGen:
LiveInterval.h updated: 1.23 -> 1.24
---
Log message:
remove some particularly expensive assertions
---
Diffs of the changes: (+3 -3)
LiveInterval.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/include/llvm/CodeGen/LiveInterval.h
diff -u llvm/include/llvm/CodeGen/LiveInterval.h:1.23 llvm/include/llvm/CodeGen/LiveInterval.h:1.24
--- llvm/include/llvm/CodeGen/LiveInterval.h:1.23 Thu Aug 31 00:54:43 2006
+++ llvm/include/llvm/CodeGen/LiveInterval.h Fri Sep 1 01:57:35 2006
@@ -132,19 +132,19 @@
/// getInstForValNum - Return the machine instruction index that defines the
/// specified value number.
unsigned getInstForValNum(unsigned ValNo) const {
- assert(ValNo < ValueNumberInfo.size());
+ //assert(ValNo < ValueNumberInfo.size());
return ValueNumberInfo[ValNo].first;
}
unsigned getSrcRegForValNum(unsigned ValNo) const {
- assert(ValNo < ValueNumberInfo.size());
+ //assert(ValNo < ValueNumberInfo.size());
if (ValueNumberInfo[ValNo].first < ~2U)
return ValueNumberInfo[ValNo].second;
return 0;
}
std::pair<unsigned, unsigned> getValNumInfo(unsigned ValNo) const {
- assert(ValNo < ValueNumberInfo.size());
+ //assert(ValNo < ValueNumberInfo.size());
return ValueNumberInfo[ValNo];
}
More information about the llvm-commits
mailing list