[cfe-commits] r60069 - /cfe/trunk/lib/AST/ExprConstant.cpp

Nuno Lopes nunoplopes at sapo.pt
Tue Nov 25 16:39:53 PST 2008


Author: nlopes
Date: Tue Nov 25 18:39:53 2008
New Revision: 60069

URL: http://llvm.org/viewvc/llvm-project?rev=60069&view=rev
Log:
remove debug-only assertion in the complex float evaluator as it makes some real apps crash

Modified:
    cfe/trunk/lib/AST/ExprConstant.cpp

Modified: cfe/trunk/lib/AST/ExprConstant.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ExprConstant.cpp?rev=60069&r1=60068&r2=60069&view=diff

==============================================================================
--- cfe/trunk/lib/AST/ExprConstant.cpp (original)
+++ cfe/trunk/lib/AST/ExprConstant.cpp Tue Nov 25 18:39:53 2008
@@ -1088,7 +1088,6 @@
   //===--------------------------------------------------------------------===//
 
   APValue VisitStmt(Stmt *S) {
-    assert(0 && "This should be called on complex floats");
     return APValue();
   }
     





More information about the cfe-commits mailing list