Improve a comment.

llvm-svn: 28833
This commit is contained in:
Chris Lattner 2006-06-16 18:25:06 +00:00
parent 6c79005b0d
commit 4b464768d1
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ bool SDTypeConstraint::ApplyTypeConstraint(TreePatternNode *N,
assert(NumResults <= 1 &&
"We only work with nodes with zero or one result so far!");
// Check that the number of operands is sane.
// Check that the number of operands is sane. Negative operands -> varargs.
if (NodeInfo.getNumOperands() >= 0) {
if (N->getNumChildren() != (unsigned)NodeInfo.getNumOperands())
TP.error(N->getOperator()->getName() + " node requires exactly " +