mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
Improve a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28833 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
426b782a92
commit
8f60d54fb1
@ -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 " +
|
||||
|
Loading…
x
Reference in New Issue
Block a user