Some programs are using BB's as values, until we resolve this. Disable the assert
authorChris Lattner <sabre@nondot.org>
Thu, 13 Dec 2001 00:45:06 +0000 (00:45 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 13 Dec 2001 00:45:06 +0000 (00:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1448 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/Expressions.cpp

index b44b8ff162e0b652eaf68f65146bf5fff597cc9f..a35e37a96308a0bae2a2cc05a2a0d911f271f2c8 100644 (file)
@@ -228,7 +228,9 @@ ExprType analysis::ClassifyExpression(Value *Expr) {
   case Value::InstructionVal: break;    // Instruction... hmmm... investigate.
   case Value::TypeVal:   case Value::BasicBlockVal:
   case Value::MethodVal: case Value::ModuleVal: default:
-    assert(0 && "Unexpected expression type to classify!");
+    //assert(0 && "Unexpected expression type to classify!");
+    cerr << "Bizarre thing to expr classify: " << Expr << endl;
+    return Expr;
   case Value::GlobalVariableVal:        // Global Variable & Method argument:
   case Value::MethodArgumentVal:        // nothing known, return variable itself
     return Expr;