mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Comment fix.
llvm-svn: 74903
This commit is contained in:
parent
83f715997c
commit
6879b9fa0f
@ -81,11 +81,10 @@ const DagInit& InitPtrToDag(const Init* ptr) {
|
||||
}
|
||||
|
||||
// checkNumberOfArguments - Ensure that the number of args in d is
|
||||
// less than or equal to min_arguments, otherwise throw an exception.
|
||||
// greater than or equal to min_arguments, otherwise throw an exception.
|
||||
void checkNumberOfArguments (const DagInit* d, unsigned min_arguments) {
|
||||
if (!d || d->getNumArgs() < min_arguments)
|
||||
throw d->getOperator()->getAsString()
|
||||
+ ": too few arguments!";
|
||||
throw d->getOperator()->getAsString() + ": too few arguments!";
|
||||
}
|
||||
|
||||
// isDagEmpty - is this DAG marked with an empty marker?
|
||||
|
Loading…
x
Reference in New Issue
Block a user