projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a225cc
)
Removed an assert which was causing significant slowdowns in debug builds.
author
Lang Hames
<lhames@gmail.com>
Thu, 5 Nov 2009 00:52:28 +0000
(
00:52
+0000)
committer
Lang Hames
<lhames@gmail.com>
Thu, 5 Nov 2009 00:52:28 +0000
(
00:52
+0000)
This assert was very conservative to begin with (the error condition is well
covered by tests elsewhere in the code) so we won't miss much by removing it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86088
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/SlotIndexes.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/SlotIndexes.h
b/include/llvm/CodeGen/SlotIndexes.h
index 31623f4c0a4b2509736a202aeb083f711757d301..1d02e06ae772542e94d14b2027731a0b3154f6ea 100644
(file)
--- a/
include/llvm/CodeGen/SlotIndexes.h
+++ b/
include/llvm/CodeGen/SlotIndexes.h
@@
-131,7
+131,6
@@
namespace llvm {
}
IndexListEntry& entry() const {
- assert(lie.getPointer() != 0 && "Use of invalid index.");
return *lie.getPointer();
}