[llvm-commits] [125325] work around a latent bug, until it can be fixed properly.

clattner at apple.com clattner at apple.com
Sat Mar 24 18:30:49 PDT 2007


Revision: 125325
Author:   clattner
Date:     2007-03-24 18:30:48 -0700 (Sat, 24 Mar 2007)

Log Message:
-----------
work around a latent bug, until it can be fixed properly.

Modified Paths:
--------------
    apple-local/branches/llvm/gcc/llvm-types.cpp

Modified: apple-local/branches/llvm/gcc/llvm-types.cpp
===================================================================
--- apple-local/branches/llvm/gcc/llvm-types.cpp	2007-03-24 09:41:55 UTC (rev 125324)
+++ apple-local/branches/llvm/gcc/llvm-types.cpp	2007-03-25 01:30:48 UTC (rev 125325)
@@ -963,7 +963,8 @@
       if (CurFieldNo < ElementOffsetInBytes.size())
         return CurFieldNo;
       // Otherwise, we couldn't find the field!
-      assert(0 && "Could not find field!");
+      // FIXME: this works around a latent bug!
+      //assert(0 && "Could not find field!");
       return ~0U;
     }
 





More information about the llvm-commits mailing list