From f114189912066654f3e4002a3860c20b8196ddae Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Wed, 20 Feb 2008 19:32:20 +0000 Subject: [PATCH] Verifier should use Assert1 instead of assert. llvm-svn: 47394 --- lib/VMCore/Verifier.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp index 5cdc4da858b..26bb2347b13 100644 --- a/lib/VMCore/Verifier.cpp +++ b/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); }