[cfe-commits] r70947 - /cfe/branches/Apple/Dib/lib/Analysis/BasicStore.cpp

Mike Stump mrs at apple.com
Mon May 4 17:15:40 PDT 2009


Author: mrs
Date: Mon May  4 19:15:40 2009
New Revision: 70947

URL: http://llvm.org/viewvc/llvm-project?rev=70947&view=rev
Log:
Merge in 70943:

Remove possibly incorrect assertion that doesn't matter.

Modified:
    cfe/branches/Apple/Dib/lib/Analysis/BasicStore.cpp

Modified: cfe/branches/Apple/Dib/lib/Analysis/BasicStore.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/Dib/lib/Analysis/BasicStore.cpp?rev=70947&r1=70946&r2=70947&view=diff

==============================================================================
--- cfe/branches/Apple/Dib/lib/Analysis/BasicStore.cpp (original)
+++ cfe/branches/Apple/Dib/lib/Analysis/BasicStore.cpp Mon May  4 19:15:40 2009
@@ -217,9 +217,6 @@
         // char* y = (char*) &x;
         // 'y' => ElementRegion(0, VarRegion('x'))
         // y[0] = 'a';
-        assert(ER->getIndex().isUnknown() ||
-               cast<nonloc::ConcreteInt>(ER->getIndex()).getValue() == 0);
-        ER = ER; // silence 'unused' warning in release modes.
         return Base;
       }
       





More information about the cfe-commits mailing list