[llvm-commits] CVS: llvm/lib/VMCore/Constants.cpp
Reid Spencer
reid at x10sys.com
Wed Mar 9 07:19:52 PST 2005
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.123 -> 1.124
---
Log message:
Fix a typo in an assertion comment.
Patch contributed by Vladimir Merzliakov.
---
Diffs of the changes: (+1 -1)
Constants.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/VMCore/Constants.cpp
diff -u llvm/lib/VMCore/Constants.cpp:1.123 llvm/lib/VMCore/Constants.cpp:1.124
--- llvm/lib/VMCore/Constants.cpp:1.123 Sat Mar 5 13:51:50 2005
+++ llvm/lib/VMCore/Constants.cpp Wed Mar 9 09:19:41 2005
@@ -221,7 +221,7 @@
ConstantSInt::ConstantSInt(const Type *Ty, int64_t V) : ConstantInt(Ty, V) {
assert(Ty->isInteger() && Ty->isSigned() &&
- "Illegal type for unsigned integer constant!");
+ "Illegal type for signed integer constant!");
assert(isValueValidForType(Ty, V) && "Value too large for type!");
}
More information about the llvm-commits
mailing list