mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Verifier should use Assert1 instead of assert.
llvm-svn: 47394
This commit is contained in:
parent
62071ec646
commit
f114189912
@ -1039,8 +1039,8 @@ void Verifier::visitAllocationInst(AllocationInst &AI) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Verifier::visitGetResultInst(GetResultInst &GRI) {
|
void Verifier::visitGetResultInst(GetResultInst &GRI) {
|
||||||
assert (GRI.isValidOperands(GRI.getAggregateValue(), GRI.getIndex())
|
Assert1(GRI.isValidOperands(GRI.getAggregateValue(), GRI.getIndex()),
|
||||||
&& "Invalid GetResultInst operands!");
|
"Invalid GetResultInst operands!", &GRI);
|
||||||
visitInstruction(GRI);
|
visitInstruction(GRI);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user