From: Lang Hames Date: Thu, 5 Nov 2009 00:52:28 +0000 (+0000) Subject: Removed an assert which was causing significant slowdowns in debug builds. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a0e7b027609251609b60475e1026730a11d1e15f;p=oota-llvm.git 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 --- diff --git a/include/llvm/CodeGen/SlotIndexes.h b/include/llvm/CodeGen/SlotIndexes.h index 31623f4c0a4..1d02e06ae77 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(); }