OSDN Git Service

Fix a copy+pasto in an assertion string that Jay Foad noticed.
authorDan Gohman <gohman@apple.com>
Fri, 5 Jun 2009 18:34:16 +0000 (18:34 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 5 Jun 2009 18:34:16 +0000 (18:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72953 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Verifier.cpp

index 0ab9b2d..b047d0c 100644 (file)
@@ -1093,7 +1093,7 @@ void Verifier::visitBinaryOperator(BinaryOperator &B) {
   case Instruction::FRem:
     Assert1(B.getType()->isFPOrFPVector(),
             "Floating-point arithmetic operators only work with "
-            "integral types!", &B);
+            "floating-point types!", &B);
     Assert1(B.getType() == B.getOperand(0)->getType(),
             "Floating-point arithmetic operators must have same type "
             "for operands and result!", &B);