summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-07-11 19:42:53 +0000
committerChris Lattner <sabre@nondot.org>2010-07-11 19:42:53 +0000
commit31bd2de24e1f4ec29ab33cbdc288327a252f75da (patch)
tree7f23fb2c8f097e1b107a25027fa50e8ba7c043c2 /llvm
parent0961c551617b52a6dd08687986cb3750d9319a56 (diff)
downloadbcm5719-llvm-31bd2de24e1f4ec29ab33cbdc288327a252f75da.tar.gz
bcm5719-llvm-31bd2de24e1f4ec29ab33cbdc288327a252f75da.zip
fix typo
llvm-svn: 108100
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/VMCore/Verifier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Verifier.cpp b/llvm/lib/VMCore/Verifier.cpp
index 4af5c268c77..383f062a052 100644
--- a/llvm/lib/VMCore/Verifier.cpp
+++ b/llvm/lib/VMCore/Verifier.cpp
@@ -1357,7 +1357,7 @@ void Verifier::visitLoadInst(LoadInst &LI) {
void Verifier::visitStoreInst(StoreInst &SI) {
const PointerType *PTy = dyn_cast<PointerType>(SI.getOperand(1)->getType());
- Assert1(PTy, "Load operand must be a pointer.", &SI);
+ Assert1(PTy, "Store operand must be a pointer.", &SI);
const Type *ElTy = PTy->getElementType();
Assert2(ElTy == SI.getOperand(0)->getType(),
"Stored value type does not match pointer operand type!",
OpenPOWER on IntegriCloud