diff options
author | Lang Hames <lhames@gmail.com> | 2009-11-05 00:52:28 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2009-11-05 00:52:28 +0000 |
commit | a0e7b027609251609b60475e1026730a11d1e15f (patch) | |
tree | 8ec5d269999285ba5a3a5a28ebba76ccb66b3aed | |
parent | 5a225cc85aae4b52d9cbda6cd663fef573f2f5f2 (diff) |
Removed an assert which was causing significant slowdowns in debug builds.
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
-rw-r--r-- | include/llvm/CodeGen/SlotIndexes.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SlotIndexes.h b/include/llvm/CodeGen/SlotIndexes.h index 31623f4c0a..1d02e06ae7 100644 --- 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(); } |