summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-07-07 16:07:36 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-07-07 16:07:36 +0000
commit2de4161b23e16a7173957470c7d85ecb3f710b39 (patch)
tree005a35c63e796960d70cd2d70c40062c08adfb44
parent031bbef5283fa7bb98ab28997137482fe6d548c6 (diff)
downloadbcm5719-llvm-2de4161b23e16a7173957470c7d85ecb3f710b39.tar.gz
bcm5719-llvm-2de4161b23e16a7173957470c7d85ecb3f710b39.zip
Comment fix.
llvm-svn: 74903
-rw-r--r--llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp b/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp
index fc182ce5af8..42d9d9ce0a3 100644
--- a/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp
+++ b/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp
@@ -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?
OpenPOWER on IntegriCloud