projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
831dab3
)
silence warning when assertions are disabled.
author
Chris Lattner
<sabre@nondot.org>
Tue, 19 Jun 2007 06:40:46 +0000
(06:40 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 19 Jun 2007 06:40:46 +0000
(06:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37654
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/DAGISelEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/DAGISelEmitter.cpp
b/utils/TableGen/DAGISelEmitter.cpp
index 2493536214f191c2c6ed7622372ba02df4282c5a..17114b0ebaee0d6c114d71faf501200e571e6a64 100644
(file)
--- 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.