Module's are no longer Value subclasses
authorChris Lattner <sabre@nondot.org>
Sun, 28 Apr 2002 04:50:00 +0000 (04:50 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 28 Apr 2002 04:50:00 +0000 (04:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2351 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/Expressions.cpp

index e78fb1e690ab6cb4b21485f602544453712ffaf9..006a9920b549cd6aecb27af0c81091205604bbd6 100644 (file)
@@ -240,7 +240,7 @@ ExprType analysis::ClassifyExpression(Value *Expr) {
   switch (Expr->getValueType()) {
   case Value::InstructionVal: break;    // Instruction... hmmm... investigate.
   case Value::TypeVal:   case Value::BasicBlockVal:
-  case Value::FunctionVal: case Value::ModuleVal: default:
+  case Value::FunctionVal: default:
     //assert(0 && "Unexpected expression type to classify!");
     std::cerr << "Bizarre thing to expr classify: " << Expr << "\n";
     return Expr;