Some programs are using BB's as values, until we resolve this. Disable the assert

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1448 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2001-12-13 00:45:06 +00:00
parent e20bcd81eb
commit 481fafe67d

View 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;