Fix grammar

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19854 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2005-01-27 06:46:38 +00:00
parent 3d65d31e20
commit 1bae291cb9
2 changed files with 2 additions and 2 deletions

View 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:

View 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: