mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +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) {
|
||||
assert (GRI.isValidOperands(GRI.getAggregateValue(), GRI.getIndex())
|
||||
&& "Invalid GetResultInst operands!");
|
||||
Assert1(GRI.isValidOperands(GRI.getAggregateValue(), GRI.getIndex()),
|
||||
"Invalid GetResultInst operands!", &GRI);
|
||||
visitInstruction(GRI);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user