From 20c2b35c2f2cfeda290ae3e4c08a80cd85a4785b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 19 Jun 2007 06:40:46 +0000 Subject: silence warning when assertions are disabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37654 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/DAGISelEmitter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'utils/TableGen') diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp index 2493536..17114b0 100644 --- a/utils/TableGen/DAGISelEmitter.cpp +++ b/utils/TableGen/DAGISelEmitter.cpp @@ -1502,8 +1502,7 @@ void DAGISelEmitter::ParseInstructions() { unsigned NumResults = InstResults.size(); // Parse the operands list from the (ops) list, validating it. - std::vector &Args = I->getArgList(); - assert(Args.empty() && "Args list should still be empty here!"); + assert(I->getArgList().empty() && "Args list should still be empty here!"); CodeGenInstruction &CGI = Target.getInstruction(Instrs[i]->getName()); // Check that all of the results occur first in the list. -- cgit v1.1