summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-09-10 16:22:02 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-09-10 16:22:02 +0000
commit2d04ec5fe65aa5ec0688b661a4abb20456941989 (patch)
tree103bf0a2d7828188f5efe71b7797786910542c7d /utils
parent684a8b0f10cb43ed77ccc094cdeac6b4740d4598 (diff)
downloadllvm-2d04ec5fe65aa5ec0688b661a4abb20456941989.tar.gz
llvm-2d04ec5fe65aa5ec0688b661a4abb20456941989.tar.bz2
llvm-2d04ec5fe65aa5ec0688b661a4abb20456941989.tar.xz
Distinguish between 'empty' and empty DAG marker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81448 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/LLVMCConfigurationEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/LLVMCConfigurationEmitter.cpp b/utils/TableGen/LLVMCConfigurationEmitter.cpp
index 8a5b36acd5..0807bff0a6 100644
--- a/utils/TableGen/LLVMCConfigurationEmitter.cpp
+++ b/utils/TableGen/LLVMCConfigurationEmitter.cpp
@@ -89,7 +89,7 @@ void checkNumberOfArguments (const DagInit* d, unsigned min_arguments) {
// isDagEmpty - is this DAG marked with an empty marker?
bool isDagEmpty (const DagInit* d) {
- return d->getOperator()->getAsString() == "empty";
+ return d->getOperator()->getAsString() == "empty_dag_marker";
}
// EscapeVariableName - Escape commas and other symbols not allowed