Fix grammar
authorMisha Brukman <brukman+llvm@gmail.com>
Thu, 27 Jan 2005 06:46:38 +0000 (06:46 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Thu, 27 Jan 2005 06:46:38 +0000 (06:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19854 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Constants.cpp
lib/VMCore/Instructions.cpp

index b5de27803366c936ce7076917aaeecfbf1f1de84..7af188d7352c8efe8d6e78a6b35b07fc6efe4b18 100644 (file)
@@ -1306,7 +1306,7 @@ Constant *ConstantExpr::get(unsigned Opcode, Constant *C1, Constant *C2) {
   case Instruction::Xor:
     assert(C1->getType() == C2->getType() && "Op types should be identical!");
     assert(C1->getType()->isIntegral() &&
-           "Tried to create an logical operation on a non-integral type!");
+           "Tried to create a logical operation on a non-integral type!");
     break;
   case Instruction::SetLT: case Instruction::SetGT: case Instruction::SetLE:
   case Instruction::SetGE: case Instruction::SetEQ: case Instruction::SetNE:
index 29418ce8574098b82180275e06e4a5f60e99520a..6ebf85856f3380c4681c9701a1aecf77193d6a69 100644 (file)
@@ -561,7 +561,7 @@ void BinaryOperator::init(BinaryOps iType, Value *S1, Value *S2)
     assert(getType() == S1->getType() &&
            "Logical operation should return same type as operands!");
     assert(getType()->isIntegral() &&
-           "Tried to create an logical operation on a non-integral type!");
+           "Tried to create a logical operation on a non-integral type!");
     break;
   case SetLT: case SetGT: case SetLE:
   case SetGE: case SetEQ: case SetNE: