[llvm-commits] [llvm] r86088 - /llvm/trunk/include/llvm/CodeGen/SlotIndexes.h

Lang Hames lhames at gmail.com
Wed Nov 4 16:52:28 PST 2009


Author: lhames
Date: Wed Nov  4 18:52:28 2009
New Revision: 86088

URL: http://llvm.org/viewvc/llvm-project?rev=86088&view=rev
Log:
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.

Modified:
    llvm/trunk/include/llvm/CodeGen/SlotIndexes.h

Modified: llvm/trunk/include/llvm/CodeGen/SlotIndexes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SlotIndexes.h?rev=86088&r1=86087&r2=86088&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SlotIndexes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SlotIndexes.h Wed Nov  4 18:52:28 2009
@@ -131,7 +131,6 @@
     }
 
     IndexListEntry& entry() const {
-      assert(lie.getPointer() != 0 && "Use of invalid index.");
       return *lie.getPointer();
     }
 





More information about the llvm-commits mailing list