[llvm-commits] CVS: llvm/lib/VMCore/Verifier.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Nov 21 11:07:01 PST 2003
Changes in directory llvm/lib/VMCore:
Verifier.cpp updated: 1.69 -> 1.70
---
Log message:
improve error message
---
Diffs of the changes: (+2 -2)
Index: llvm/lib/VMCore/Verifier.cpp
diff -u llvm/lib/VMCore/Verifier.cpp:1.69 llvm/lib/VMCore/Verifier.cpp:1.70
--- llvm/lib/VMCore/Verifier.cpp:1.69 Sun Nov 16 17:07:42 2003
+++ llvm/lib/VMCore/Verifier.cpp Fri Nov 21 11:06:29 2003
@@ -438,7 +438,7 @@
const Type *ElTy =
cast<PointerType>(LI.getOperand(0)->getType())->getElementType();
Assert2(ElTy == LI.getType(),
- "Load is not of right type for indices!", &LI, ElTy);
+ "Load result type does not match pointer operand type!", &LI, ElTy);
visitInstruction(LI);
}
@@ -446,7 +446,7 @@
const Type *ElTy =
cast<PointerType>(SI.getOperand(1)->getType())->getElementType();
Assert2(ElTy == SI.getOperand(0)->getType(),
- "Stored value is not of right type for indices!", &SI, ElTy);
+ "Stored value type does not match pointer operand type!", &SI, ElTy);
visitInstruction(SI);
}
More information about the llvm-commits
mailing list