[llvm-commits] [bug_122] CVS: llvm/lib/Analysis/Expressions.cpp

LLVM llvm at cs.uiuc.edu
Sun May 16 19:05:01 PDT 2004


Changes in directory llvm/lib/Analysis:

Expressions.cpp updated: 1.41 -> 1.41.6.1

---
Log message:

Remove Value::TypeVal from a case label because there is no such thing
as a "Type Value" any more.


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/Analysis/Expressions.cpp
diff -u llvm/lib/Analysis/Expressions.cpp:1.41 llvm/lib/Analysis/Expressions.cpp:1.41.6.1
--- llvm/lib/Analysis/Expressions.cpp:1.41	Mon Jan 12 12:02:15 2004
+++ llvm/lib/Analysis/Expressions.cpp	Sun May 16 19:05:07 2004
@@ -248,7 +248,7 @@
 
   switch (Expr->getValueType()) {
   case Value::InstructionVal: break;    // Instruction... hmmm... investigate.
-  case Value::TypeVal:   case Value::BasicBlockVal:
+  case Value::BasicBlockVal:
   case Value::FunctionVal: default:
     //assert(0 && "Unexpected expression type to classify!");
     std::cerr << "Bizarre thing to expr classify: " << Expr << "\n";





More information about the llvm-commits mailing list