Some programs are using BB's as values, until we resolve this. Disable the assert
llvm-svn: 1448
diff --git a/llvm/lib/Analysis/Expressions.cpp b/llvm/lib/Analysis/Expressions.cpp
index b44b8ff..a35e37a 100644
--- a/llvm/lib/Analysis/Expressions.cpp
+++ b/llvm/lib/Analysis/Expressions.cpp
@@ -228,7 +228,9 @@
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;