projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
600f171
)
fix typo
author
Chris Lattner
<sabre@nondot.org>
Sun, 11 Jul 2010 19:42:53 +0000
(19:42 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 11 Jul 2010 19:42:53 +0000
(19:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108100
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Verifier.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Verifier.cpp
b/lib/VMCore/Verifier.cpp
index 4af5c268c77a7ddfd042255752a7a448da191554..383f062a0529131be5a929677a6ded10c223c412 100644
(file)
--- a/
lib/VMCore/Verifier.cpp
+++ b/
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!",