summaryrefslogtreecommitdiff
path: root/lib/VMCore
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2005-01-27 06:46:38 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2005-01-27 06:46:38 +0000
commit1bae291cb9cafc8a8c86538449b78a575ed9834a (patch)
tree5b2acc0331b004d8db75ac9530b5ec2a5689653a /lib/VMCore
parent3d65d31e20077369c105d9845acbc1dcb4866c6c (diff)
Fix grammar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19854 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/Constants.cpp2
-rw-r--r--lib/VMCore/Instructions.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp
index b5de2780336..7af188d7352 100644
--- a/lib/VMCore/Constants.cpp
+++ b/lib/VMCore/Constants.cpp
@@ -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:
diff --git a/lib/VMCore/Instructions.cpp b/lib/VMCore/Instructions.cpp
index 29418ce8574..6ebf85856f3 100644
--- a/lib/VMCore/Instructions.cpp
+++ b/lib/VMCore/Instructions.cpp
@@ -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: