[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp
Chris Lattner
sabre at nondot.org
Mon Jun 18 23:41:08 PDT 2007
Changes in directory llvm/utils/TableGen:
DAGISelEmitter.cpp updated: 1.297 -> 1.298
---
Log message:
silence warning when assertions are disabled.
---
Diffs of the changes: (+1 -2)
DAGISelEmitter.cpp | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
Index: llvm/utils/TableGen/DAGISelEmitter.cpp
diff -u llvm/utils/TableGen/DAGISelEmitter.cpp:1.297 llvm/utils/TableGen/DAGISelEmitter.cpp:1.298
--- llvm/utils/TableGen/DAGISelEmitter.cpp:1.297 Mon May 14 20:36:44 2007
+++ llvm/utils/TableGen/DAGISelEmitter.cpp Tue Jun 19 01:40:46 2007
@@ -1502,8 +1502,7 @@
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.
More information about the llvm-commits
mailing list