diff options
author | Chris Lattner <sabre@nondot.org> | 2007-06-19 06:40:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-06-19 06:40:46 +0000 |
commit | 20c2b35c2f2cfeda290ae3e4c08a80cd85a4785b (patch) | |
tree | 0f3ef60b94a385f7fd225fd421a9388113c459f9 | |
parent | 831dab360fdb1a854a396ba37a28b30f35c1adaf (diff) | |
download | external_llvm-20c2b35c2f2cfeda290ae3e4c08a80cd85a4785b.zip external_llvm-20c2b35c2f2cfeda290ae3e4c08a80cd85a4785b.tar.gz external_llvm-20c2b35c2f2cfeda290ae3e4c08a80cd85a4785b.tar.bz2 |
silence warning when assertions are disabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37654 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | utils/TableGen/DAGISelEmitter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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<std::string> &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. |