mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 23:29:20 +00:00
Verifier should use Assert1 instead of assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47394 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c9525263f6
commit
9fcde0fa13
@ -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…
x
Reference in New Issue
Block a user