diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/VMCore/Verifier.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/Verifier.cpp b/llvm/lib/VMCore/Verifier.cpp index 5cdc4da858b..26bb2347b13 100644 --- a/llvm/lib/VMCore/Verifier.cpp +++ b/llvm/lib/VMCore/Verifier.cpp @@ -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); } |

