1
0
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:
Devang Patel 2008-02-20 19:32:20 +00:00
parent 62071ec646
commit f114189912

View File

@ -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);
} }