mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-15 17:07:52 +00:00
fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108100 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
600f171486
commit
b4a9631e55
@ -1357,7 +1357,7 @@ void Verifier::visitLoadInst(LoadInst &LI) {
|
|||||||
|
|
||||||
void Verifier::visitStoreInst(StoreInst &SI) {
|
void Verifier::visitStoreInst(StoreInst &SI) {
|
||||||
const PointerType *PTy = dyn_cast<PointerType>(SI.getOperand(1)->getType());
|
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();
|
const Type *ElTy = PTy->getElementType();
|
||||||
Assert2(ElTy == SI.getOperand(0)->getType(),
|
Assert2(ElTy == SI.getOperand(0)->getType(),
|
||||||
"Stored value type does not match pointer operand type!",
|
"Stored value type does not match pointer operand type!",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user